pub struct IFsrmClassificationManager(/* private fields */);
Implementations§
§impl IFsrmClassificationManager
impl IFsrmClassificationManager
pub unsafe fn ClassificationReportFormats(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn SetClassificationReportFormats( &self, formats: *const SAFEARRAY, ) -> Result<()>
pub unsafe fn Logging(&self) -> Result<i32>
pub unsafe fn SetLogging(&self, logging: i32) -> Result<()>
pub unsafe fn ClassificationReportMailTo(&self) -> Result<BSTR>
pub unsafe fn SetClassificationReportMailTo<P0>(&self, mailto: P0) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn ClassificationReportEnabled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetClassificationReportEnabled<P0>(
&self,
reportenabled: P0,
) -> Result<()>where
P0: Param<VARIANT_BOOL>,
pub unsafe fn ClassificationLastReportPathWithoutExtension( &self, ) -> Result<BSTR>
pub unsafe fn ClassificationLastError(&self) -> Result<BSTR>
pub unsafe fn ClassificationRunningStatus( &self, ) -> Result<FsrmReportRunningStatus>
pub unsafe fn EnumPropertyDefinitions( &self, options: FsrmEnumOptions, ) -> Result<IFsrmCollection>
pub unsafe fn CreatePropertyDefinition(&self) -> Result<IFsrmPropertyDefinition>
pub unsafe fn GetPropertyDefinition<P0>(
&self,
propertyname: P0,
) -> Result<IFsrmPropertyDefinition>where
P0: Param<BSTR>,
pub unsafe fn EnumRules( &self, ruletype: FsrmRuleType, options: FsrmEnumOptions, ) -> Result<IFsrmCollection>
pub unsafe fn CreateRule(&self, ruletype: FsrmRuleType) -> Result<IFsrmRule>
pub unsafe fn GetRule<P0>(
&self,
rulename: P0,
ruletype: FsrmRuleType,
) -> Result<IFsrmRule>where
P0: Param<BSTR>,
pub unsafe fn EnumModuleDefinitions( &self, moduletype: FsrmPipelineModuleType, options: FsrmEnumOptions, ) -> Result<IFsrmCollection>
pub unsafe fn CreateModuleDefinition( &self, moduletype: FsrmPipelineModuleType, ) -> Result<IFsrmPipelineModuleDefinition>
pub unsafe fn GetModuleDefinition<P0>(
&self,
modulename: P0,
moduletype: FsrmPipelineModuleType,
) -> Result<IFsrmPipelineModuleDefinition>where
P0: Param<BSTR>,
pub unsafe fn RunClassification<P0>(
&self,
context: FsrmReportGenerationContext,
reserved: P0,
) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn WaitForClassificationCompletion( &self, waitseconds: i32, ) -> Result<VARIANT_BOOL>
pub unsafe fn CancelClassification(&self) -> Result<()>
pub unsafe fn EnumFileProperties<P0>(
&self,
filepath: P0,
options: FsrmGetFilePropertyOptions,
) -> Result<IFsrmCollection>where
P0: Param<BSTR>,
pub unsafe fn GetFileProperty<P0, P1>(
&self,
filepath: P0,
propertyname: P1,
options: FsrmGetFilePropertyOptions,
) -> Result<IFsrmProperty>where
P0: Param<BSTR>,
P1: Param<BSTR>,
pub unsafe fn SetFileProperty<P0, P1, P2>(
&self,
filepath: P0,
propertyname: P1,
propertyvalue: P2,
) -> Result<()>where
P0: Param<BSTR>,
P1: Param<BSTR>,
P2: Param<BSTR>,
pub unsafe fn ClearFileProperty<P0, P1>(
&self,
filepath: P0,
property: P1,
) -> Result<()>where
P0: Param<BSTR>,
P1: Param<BSTR>,
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<IFsrmClassificationManager> for IFsrmClassificationManager2
impl CanInto<IFsrmClassificationManager> for IFsrmClassificationManager2
§impl CanInto<IUnknown> for IFsrmClassificationManager
impl CanInto<IUnknown> for IFsrmClassificationManager
§impl Clone for IFsrmClassificationManager
impl Clone for IFsrmClassificationManager
§fn clone(&self) -> IFsrmClassificationManager
fn clone(&self) -> IFsrmClassificationManager
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IFsrmClassificationManager
impl Debug for IFsrmClassificationManager
§impl Deref for IFsrmClassificationManager
impl Deref for IFsrmClassificationManager
§impl From<&IFsrmClassificationManager> for &IDispatch
impl From<&IFsrmClassificationManager> for &IDispatch
§fn from(value: &IFsrmClassificationManager) -> Self
fn from(value: &IFsrmClassificationManager) -> Self
Converts to this type from the input type.
§impl From<&IFsrmClassificationManager> for &IUnknown
impl From<&IFsrmClassificationManager> for &IUnknown
§fn from(value: &IFsrmClassificationManager) -> Self
fn from(value: &IFsrmClassificationManager) -> Self
Converts to this type from the input type.
§impl From<&IFsrmClassificationManager2> for &IFsrmClassificationManager
impl From<&IFsrmClassificationManager2> for &IFsrmClassificationManager
§fn from(value: &IFsrmClassificationManager2) -> Self
fn from(value: &IFsrmClassificationManager2) -> Self
Converts to this type from the input type.
§impl From<IFsrmClassificationManager> for IDispatch
impl From<IFsrmClassificationManager> for IDispatch
§fn from(value: IFsrmClassificationManager) -> Self
fn from(value: IFsrmClassificationManager) -> Self
Converts to this type from the input type.
§impl From<IFsrmClassificationManager> for IUnknown
impl From<IFsrmClassificationManager> for IUnknown
§fn from(value: IFsrmClassificationManager) -> Self
fn from(value: IFsrmClassificationManager) -> Self
Converts to this type from the input type.
§impl From<IFsrmClassificationManager2> for IFsrmClassificationManager
impl From<IFsrmClassificationManager2> for IFsrmClassificationManager
§fn from(value: IFsrmClassificationManager2) -> Self
fn from(value: IFsrmClassificationManager2) -> Self
Converts to this type from the input type.
§impl Interface for IFsrmClassificationManager
impl Interface for IFsrmClassificationManager
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IFsrmClassificationManager
impl PartialEq for IFsrmClassificationManager
§fn eq(&self, other: &IFsrmClassificationManager) -> bool
fn eq(&self, other: &IFsrmClassificationManager) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IFsrmClassificationManager
impl StructuralPartialEq for IFsrmClassificationManager
Auto Trait Implementations§
impl Freeze for IFsrmClassificationManager
impl RefUnwindSafe for IFsrmClassificationManager
impl !Send for IFsrmClassificationManager
impl !Sync for IFsrmClassificationManager
impl Unpin for IFsrmClassificationManager
impl UnwindSafe for IFsrmClassificationManager
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)