windows::Win32::Storage::FileServerResourceManager

Trait IFsrmQuotaManager_Impl

pub trait IFsrmQuotaManager_Impl: IDispatch_Impl {
    // Required methods
    fn ActionVariables(&self) -> Result<*mut SAFEARRAY>;
    fn ActionVariableDescriptions(&self) -> Result<*mut SAFEARRAY>;
    fn CreateQuota(&self, path: &BSTR) -> Result<IFsrmQuota>;
    fn CreateAutoApplyQuota(
        &self,
        quotatemplatename: &BSTR,
        path: &BSTR,
    ) -> Result<IFsrmAutoApplyQuota>;
    fn GetQuota(&self, path: &BSTR) -> Result<IFsrmQuota>;
    fn GetAutoApplyQuota(&self, path: &BSTR) -> Result<IFsrmAutoApplyQuota>;
    fn GetRestrictiveQuota(&self, path: &BSTR) -> Result<IFsrmQuota>;
    fn EnumQuotas(
        &self,
        path: &BSTR,
        options: FsrmEnumOptions,
    ) -> Result<IFsrmCommittableCollection>;
    fn EnumAutoApplyQuotas(
        &self,
        path: &BSTR,
        options: FsrmEnumOptions,
    ) -> Result<IFsrmCommittableCollection>;
    fn EnumEffectiveQuotas(
        &self,
        path: &BSTR,
        options: FsrmEnumOptions,
    ) -> Result<IFsrmCommittableCollection>;
    fn Scan(&self, strpath: &BSTR) -> Result<()>;
    fn CreateQuotaCollection(&self) -> Result<IFsrmCommittableCollection>;
}

Required Methods§

fn ActionVariables(&self) -> Result<*mut SAFEARRAY>

fn ActionVariableDescriptions(&self) -> Result<*mut SAFEARRAY>

fn CreateQuota(&self, path: &BSTR) -> Result<IFsrmQuota>

fn CreateAutoApplyQuota( &self, quotatemplatename: &BSTR, path: &BSTR, ) -> Result<IFsrmAutoApplyQuota>

fn GetQuota(&self, path: &BSTR) -> Result<IFsrmQuota>

fn GetAutoApplyQuota(&self, path: &BSTR) -> Result<IFsrmAutoApplyQuota>

fn GetRestrictiveQuota(&self, path: &BSTR) -> Result<IFsrmQuota>

fn EnumQuotas( &self, path: &BSTR, options: FsrmEnumOptions, ) -> Result<IFsrmCommittableCollection>

fn EnumAutoApplyQuotas( &self, path: &BSTR, options: FsrmEnumOptions, ) -> Result<IFsrmCommittableCollection>

fn EnumEffectiveQuotas( &self, path: &BSTR, options: FsrmEnumOptions, ) -> Result<IFsrmCommittableCollection>

fn Scan(&self, strpath: &BSTR) -> Result<()>

fn CreateQuotaCollection(&self) -> Result<IFsrmCommittableCollection>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§