windows::Win32::Storage::FileServerResourceManager

Trait IFsrmPropertyDefinition_Impl

pub trait IFsrmPropertyDefinition_Impl: IFsrmObject_Impl {
    // Required methods
    fn Name(&self) -> Result<BSTR>;
    fn SetName(&self, name: &BSTR) -> Result<()>;
    fn Type(&self) -> Result<FsrmPropertyDefinitionType>;
    fn SetType(&self, type: FsrmPropertyDefinitionType) -> Result<()>;
    fn PossibleValues(&self) -> Result<*mut SAFEARRAY>;
    fn SetPossibleValues(&self, possiblevalues: *const SAFEARRAY) -> Result<()>;
    fn ValueDescriptions(&self) -> Result<*mut SAFEARRAY>;
    fn SetValueDescriptions(
        &self,
        valuedescriptions: *const SAFEARRAY,
    ) -> Result<()>;
    fn Parameters(&self) -> Result<*mut SAFEARRAY>;
    fn SetParameters(&self, parameters: *const SAFEARRAY) -> Result<()>;
}

Required Methods§

fn Name(&self) -> Result<BSTR>

fn SetName(&self, name: &BSTR) -> Result<()>

fn Type(&self) -> Result<FsrmPropertyDefinitionType>

fn SetType(&self, type: FsrmPropertyDefinitionType) -> Result<()>

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

fn SetPossibleValues(&self, possiblevalues: *const SAFEARRAY) -> Result<()>

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

fn SetValueDescriptions( &self, valuedescriptions: *const SAFEARRAY, ) -> Result<()>

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

fn SetParameters(&self, parameters: *const SAFEARRAY) -> Result<()>

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§