Trait winsafe::prelude::kernel_Htransaction

source ·
pub trait kernel_Htransaction: Handle {
    // Provided methods
    fn CommitTransaction(&self) -> SysResult<()> { ... }
    fn CreateTransaction(
        transaction_attributes: Option<&SECURITY_ATTRIBUTES<'_>>,
        options: Option<TRANSACTION_OPT>,
        timeout: Option<u32>,
        description: &str
    ) -> SysResult<CloseHandleGuard<HTRANSACTION>> { ... }
    fn GetTransactionId(&self) -> SysResult<GUID> { ... }
    fn OpenTransaction(
        desired_access: TRANSACTION,
        transaction_id: &GUID
    ) -> SysResult<CloseHandleGuard<HTRANSACTION>> { ... }
    fn RollbackTransaction(&self) -> SysResult<()> { ... }
}
Available on crate feature kernel only.
Expand description

This trait is enabled with the kernel feature, and provides methods for HTRANSACTION.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§