Trait IFsrmClassificationManager_Impl
pub trait IFsrmClassificationManager_Impl: IDispatch_Impl {
Show 27 methods
// Required methods
fn ClassificationReportFormats(&self) -> Result<*mut SAFEARRAY>;
fn SetClassificationReportFormats(
&self,
formats: *const SAFEARRAY,
) -> Result<()>;
fn Logging(&self) -> Result<i32>;
fn SetLogging(&self, logging: i32) -> Result<()>;
fn ClassificationReportMailTo(&self) -> Result<BSTR>;
fn SetClassificationReportMailTo(&self, mailto: &BSTR) -> Result<()>;
fn ClassificationReportEnabled(&self) -> Result<VARIANT_BOOL>;
fn SetClassificationReportEnabled(
&self,
reportenabled: VARIANT_BOOL,
) -> Result<()>;
fn ClassificationLastReportPathWithoutExtension(&self) -> Result<BSTR>;
fn ClassificationLastError(&self) -> Result<BSTR>;
fn ClassificationRunningStatus(&self) -> Result<FsrmReportRunningStatus>;
fn EnumPropertyDefinitions(
&self,
options: FsrmEnumOptions,
) -> Result<IFsrmCollection>;
fn CreatePropertyDefinition(&self) -> Result<IFsrmPropertyDefinition>;
fn GetPropertyDefinition(
&self,
propertyname: &BSTR,
) -> Result<IFsrmPropertyDefinition>;
fn EnumRules(
&self,
ruletype: FsrmRuleType,
options: FsrmEnumOptions,
) -> Result<IFsrmCollection>;
fn CreateRule(&self, ruletype: FsrmRuleType) -> Result<IFsrmRule>;
fn GetRule(
&self,
rulename: &BSTR,
ruletype: FsrmRuleType,
) -> Result<IFsrmRule>;
fn EnumModuleDefinitions(
&self,
moduletype: FsrmPipelineModuleType,
options: FsrmEnumOptions,
) -> Result<IFsrmCollection>;
fn CreateModuleDefinition(
&self,
moduletype: FsrmPipelineModuleType,
) -> Result<IFsrmPipelineModuleDefinition>;
fn GetModuleDefinition(
&self,
modulename: &BSTR,
moduletype: FsrmPipelineModuleType,
) -> Result<IFsrmPipelineModuleDefinition>;
fn RunClassification(
&self,
context: FsrmReportGenerationContext,
reserved: &BSTR,
) -> Result<()>;
fn WaitForClassificationCompletion(
&self,
waitseconds: i32,
) -> Result<VARIANT_BOOL>;
fn CancelClassification(&self) -> Result<()>;
fn EnumFileProperties(
&self,
filepath: &BSTR,
options: FsrmGetFilePropertyOptions,
) -> Result<IFsrmCollection>;
fn GetFileProperty(
&self,
filepath: &BSTR,
propertyname: &BSTR,
options: FsrmGetFilePropertyOptions,
) -> Result<IFsrmProperty>;
fn SetFileProperty(
&self,
filepath: &BSTR,
propertyname: &BSTR,
propertyvalue: &BSTR,
) -> Result<()>;
fn ClearFileProperty(&self, filepath: &BSTR, property: &BSTR) -> Result<()>;
}
Required Methods§
fn ClassificationReportFormats(&self) -> Result<*mut SAFEARRAY>
fn SetClassificationReportFormats( &self, formats: *const SAFEARRAY, ) -> Result<()>
fn Logging(&self) -> Result<i32>
fn SetLogging(&self, logging: i32) -> Result<()>
fn ClassificationReportMailTo(&self) -> Result<BSTR>
fn SetClassificationReportMailTo(&self, mailto: &BSTR) -> Result<()>
fn ClassificationReportEnabled(&self) -> Result<VARIANT_BOOL>
fn SetClassificationReportEnabled( &self, reportenabled: VARIANT_BOOL, ) -> Result<()>
fn ClassificationLastReportPathWithoutExtension(&self) -> Result<BSTR>
fn ClassificationLastError(&self) -> Result<BSTR>
fn ClassificationRunningStatus(&self) -> Result<FsrmReportRunningStatus>
fn EnumPropertyDefinitions( &self, options: FsrmEnumOptions, ) -> Result<IFsrmCollection>
fn CreatePropertyDefinition(&self) -> Result<IFsrmPropertyDefinition>
fn GetPropertyDefinition( &self, propertyname: &BSTR, ) -> Result<IFsrmPropertyDefinition>
fn EnumRules( &self, ruletype: FsrmRuleType, options: FsrmEnumOptions, ) -> Result<IFsrmCollection>
fn CreateRule(&self, ruletype: FsrmRuleType) -> Result<IFsrmRule>
fn GetRule(&self, rulename: &BSTR, ruletype: FsrmRuleType) -> Result<IFsrmRule>
fn EnumModuleDefinitions( &self, moduletype: FsrmPipelineModuleType, options: FsrmEnumOptions, ) -> Result<IFsrmCollection>
fn CreateModuleDefinition( &self, moduletype: FsrmPipelineModuleType, ) -> Result<IFsrmPipelineModuleDefinition>
fn GetModuleDefinition( &self, modulename: &BSTR, moduletype: FsrmPipelineModuleType, ) -> Result<IFsrmPipelineModuleDefinition>
fn RunClassification( &self, context: FsrmReportGenerationContext, reserved: &BSTR, ) -> Result<()>
fn WaitForClassificationCompletion( &self, waitseconds: i32, ) -> Result<VARIANT_BOOL>
fn CancelClassification(&self) -> Result<()>
fn EnumFileProperties( &self, filepath: &BSTR, options: FsrmGetFilePropertyOptions, ) -> Result<IFsrmCollection>
fn GetFileProperty( &self, filepath: &BSTR, propertyname: &BSTR, options: FsrmGetFilePropertyOptions, ) -> Result<IFsrmProperty>
fn SetFileProperty( &self, filepath: &BSTR, propertyname: &BSTR, propertyvalue: &BSTR, ) -> Result<()>
fn ClearFileProperty(&self, filepath: &BSTR, property: &BSTR) -> 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.