#[repr(u32)]pub enum LockOperation {
IoReadAccess = 0,
IoWriteAccess = 1,
IoModifyAccess = 2,
}Expand description
lock operation type
Variants§
Trait Implementations§
Source§impl Clone for LockOperation
impl Clone for LockOperation
Source§fn clone(&self) -> LockOperation
fn clone(&self) -> LockOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LockOperation
Source§impl Debug for LockOperation
impl Debug for LockOperation
impl Eq for LockOperation
Source§impl PartialEq for LockOperation
impl PartialEq for LockOperation
Source§fn eq(&self, other: &LockOperation) -> bool
fn eq(&self, other: &LockOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LockOperation
Auto Trait Implementations§
impl Freeze for LockOperation
impl RefUnwindSafe for LockOperation
impl Send for LockOperation
impl Sync for LockOperation
impl Unpin for LockOperation
impl UnsafeUnpin for LockOperation
impl UnwindSafe for LockOperation
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