windows::Win32::System::ComponentServices

Trait ITransactionProxy_Impl

pub trait ITransactionProxy_Impl: IUnknownImpl {
    // Required methods
    fn Commit(&self, guid: &GUID) -> Result<()>;
    fn Abort(&self) -> Result<()>;
    fn Promote(&self) -> Result<ITransaction>;
    fn CreateVoter(
        &self,
        ptxasync: Ref<'_, ITransactionVoterNotifyAsync2>,
    ) -> Result<ITransactionVoterBallotAsync2>;
    fn GetIsolationLevel(
        &self,
        __midl__itransactionproxy0000: *mut i32,
    ) -> Result<()>;
    fn GetIdentifier(&self, pbstridentifier: *mut GUID) -> Result<()>;
    fn IsReusable(&self, pfisreusable: *mut BOOL) -> Result<()>;
}

Required Methods§

fn Commit(&self, guid: &GUID) -> Result<()>

fn Abort(&self) -> Result<()>

fn Promote(&self) -> Result<ITransaction>

fn CreateVoter( &self, ptxasync: Ref<'_, ITransactionVoterNotifyAsync2>, ) -> Result<ITransactionVoterBallotAsync2>

fn GetIsolationLevel( &self, __midl__itransactionproxy0000: *mut i32, ) -> Result<()>

fn GetIdentifier(&self, pbstridentifier: *mut GUID) -> Result<()>

fn IsReusable(&self, pfisreusable: *mut BOOL) -> 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§