Struct windows::Win32::System::ComponentServices::ICrmCompensator
pub struct ICrmCompensator(/* private fields */);
Implementations§
§impl ICrmCompensator
impl ICrmCompensator
pub unsafe fn SetLogControl<P0>(&self, plogcontrol: P0) -> Result<()>where
P0: IntoParam<ICrmLogControl>,
pub unsafe fn BeginPrepare(&self) -> Result<()>
pub unsafe fn PrepareRecord(&self, crmlogrec: CrmLogRecordRead) -> Result<BOOL>
pub unsafe fn EndPrepare(&self) -> Result<BOOL>
pub unsafe fn BeginCommit<P0>(&self, frecovery: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn CommitRecord(&self, crmlogrec: CrmLogRecordRead) -> Result<BOOL>
pub unsafe fn EndCommit(&self) -> Result<()>
pub unsafe fn BeginAbort<P0>(&self, frecovery: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn AbortRecord(&self, crmlogrec: CrmLogRecordRead) -> Result<BOOL>
pub unsafe fn EndAbort(&self) -> Result<()>
Trait Implementations§
§impl Clone for ICrmCompensator
impl Clone for ICrmCompensator
§fn clone(&self) -> ICrmCompensator
fn clone(&self) -> ICrmCompensator
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 ICrmCompensator
impl Debug for ICrmCompensator
§impl From<&ICrmCompensator> for &IUnknown
impl From<&ICrmCompensator> for &IUnknown
§fn from(value: &ICrmCompensator) -> Self
fn from(value: &ICrmCompensator) -> Self
Converts to this type from the input type.
§impl From<ICrmCompensator> for IUnknown
impl From<ICrmCompensator> for IUnknown
§fn from(value: ICrmCompensator) -> Self
fn from(value: ICrmCompensator) -> Self
Converts to this type from the input type.
§impl Interface for ICrmCompensator
impl Interface for ICrmCompensator
§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§impl PartialEq for ICrmCompensator
impl PartialEq for ICrmCompensator
§fn eq(&self, other: &ICrmCompensator) -> bool
fn eq(&self, other: &ICrmCompensator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICrmCompensator
impl StructuralPartialEq for ICrmCompensator
Auto Trait Implementations§
impl RefUnwindSafe for ICrmCompensator
impl !Send for ICrmCompensator
impl !Sync for ICrmCompensator
impl Unpin for ICrmCompensator
impl UnwindSafe for ICrmCompensator
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