Struct ISAXErrorHandler
pub struct ISAXErrorHandler(/* private fields */);
Implementations§
§impl ISAXErrorHandler
impl ISAXErrorHandler
pub unsafe fn error<P0, P1>(
&self,
plocator: P0,
pwcherrormessage: P1,
hrerrorcode: HRESULT,
) -> Result<()>where
P0: Param<ISAXLocator>,
P1: Param<PCWSTR>,
pub unsafe fn fatalError<P0, P1>(
&self,
plocator: P0,
pwcherrormessage: P1,
hrerrorcode: HRESULT,
) -> Result<()>where
P0: Param<ISAXLocator>,
P1: Param<PCWSTR>,
pub unsafe fn ignorableWarning<P0, P1>(
&self,
plocator: P0,
pwcherrormessage: P1,
hrerrorcode: HRESULT,
) -> Result<()>where
P0: Param<ISAXLocator>,
P1: Param<PCWSTR>,
Trait Implementations§
§impl CanInto<IUnknown> for ISAXErrorHandler
impl CanInto<IUnknown> for ISAXErrorHandler
§impl Clone for ISAXErrorHandler
impl Clone for ISAXErrorHandler
§fn clone(&self) -> ISAXErrorHandler
fn clone(&self) -> ISAXErrorHandler
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 ISAXErrorHandler
impl Debug for ISAXErrorHandler
§impl From<&ISAXErrorHandler> for &IUnknown
impl From<&ISAXErrorHandler> for &IUnknown
§fn from(value: &ISAXErrorHandler) -> Self
fn from(value: &ISAXErrorHandler) -> Self
Converts to this type from the input type.
§impl From<ISAXErrorHandler> for IUnknown
impl From<ISAXErrorHandler> for IUnknown
§fn from(value: ISAXErrorHandler) -> Self
fn from(value: ISAXErrorHandler) -> Self
Converts to this type from the input type.
§impl Interface for ISAXErrorHandler
impl Interface for ISAXErrorHandler
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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 ISAXErrorHandler
impl PartialEq for ISAXErrorHandler
impl Eq for ISAXErrorHandler
impl StructuralPartialEq for ISAXErrorHandler
Auto Trait Implementations§
impl Freeze for ISAXErrorHandler
impl RefUnwindSafe for ISAXErrorHandler
impl !Send for ISAXErrorHandler
impl !Sync for ISAXErrorHandler
impl Unpin for ISAXErrorHandler
impl UnwindSafe for ISAXErrorHandler
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