Struct winsafe::co::TRANSACTION
source · pub struct TRANSACTION(/* private fields */);
Available on crate feature
kernel
only.Expand description
Transaction access masks
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl TRANSACTION
impl TRANSACTION
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl TRANSACTION
impl TRANSACTION
pub const QUERY_INFORMATION: Self = _
pub const SET_INFORMATION: Self = _
pub const ENLIST: Self = _
pub const COMMIT: Self = _
pub const ROLLBACK: Self = _
pub const PROPAGATE: Self = _
pub const RIGHT_RESERVED1: Self = _
pub const GENERIC_READ: Self = _
pub const GENERIC_WRITE: Self = _
pub const GENERIC_EXECUTE: Self = _
pub const ALL_ACCESS: Self = _
pub const RESOURCE_MANAGER_RIGHTS: Self = _
Trait Implementations§
source§impl AsRef<u32> for TRANSACTION
impl AsRef<u32> for TRANSACTION
source§impl Binary for TRANSACTION
impl Binary for TRANSACTION
source§impl BitAnd for TRANSACTION
impl BitAnd for TRANSACTION
source§impl BitAndAssign for TRANSACTION
impl BitAndAssign for TRANSACTION
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for TRANSACTION
impl BitOr for TRANSACTION
source§impl BitOrAssign for TRANSACTION
impl BitOrAssign for TRANSACTION
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for TRANSACTION
impl BitXor for TRANSACTION
source§impl BitXorAssign for TRANSACTION
impl BitXorAssign for TRANSACTION
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for TRANSACTION
impl Clone for TRANSACTION
source§fn clone(&self) -> TRANSACTION
fn clone(&self) -> TRANSACTION
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 moresource§impl Debug for TRANSACTION
impl Debug for TRANSACTION
source§impl Default for TRANSACTION
impl Default for TRANSACTION
source§fn default() -> TRANSACTION
fn default() -> TRANSACTION
Returns the “default value” for a type. Read more
source§impl Display for TRANSACTION
impl Display for TRANSACTION
source§impl From<TRANSACTION> for u32
impl From<TRANSACTION> for u32
source§fn from(v: TRANSACTION) -> Self
fn from(v: TRANSACTION) -> Self
Converts to this type from the input type.
source§impl Hash for TRANSACTION
impl Hash for TRANSACTION
source§impl IntUnderlying for TRANSACTION
impl IntUnderlying for TRANSACTION
source§impl LowerHex for TRANSACTION
impl LowerHex for TRANSACTION
source§impl NativeBitflag for TRANSACTION
impl NativeBitflag for TRANSACTION
source§impl Not for TRANSACTION
impl Not for TRANSACTION
source§impl Octal for TRANSACTION
impl Octal for TRANSACTION
source§impl Ord for TRANSACTION
impl Ord for TRANSACTION
source§impl PartialEq for TRANSACTION
impl PartialEq for TRANSACTION
source§fn eq(&self, other: &TRANSACTION) -> bool
fn eq(&self, other: &TRANSACTION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TRANSACTION
impl PartialOrd for TRANSACTION
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl UpperHex for TRANSACTION
impl UpperHex for TRANSACTION
impl Copy for TRANSACTION
impl Eq for TRANSACTION
impl NativeConst for TRANSACTION
impl Send for TRANSACTION
impl StructuralPartialEq for TRANSACTION
Auto Trait Implementations§
impl Freeze for TRANSACTION
impl RefUnwindSafe for TRANSACTION
impl Sync for TRANSACTION
impl Unpin for TRANSACTION
impl UnwindSafe for TRANSACTION
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