#[repr(u8)]pub enum LockAction {
Unlock = 0,
Lock = 1,
PermUnlock = 2,
PermLock = 3,
}Expand description
Lock action for tag memory operations
Variants§
Unlock = 0
Unlock (read/write accessible without password)
Lock = 1
Lock (password required for read/write)
PermUnlock = 2
Permanent unlock (cannot be locked)
PermLock = 3
Permanent lock (password always required, cannot be unlocked)
Trait Implementations§
Source§impl Clone for LockAction
impl Clone for LockAction
Source§fn clone(&self) -> LockAction
fn clone(&self) -> LockAction
Returns a duplicate 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 LockAction
impl Debug for LockAction
Source§impl PartialEq for LockAction
impl PartialEq for LockAction
impl Copy for LockAction
impl Eq for LockAction
impl StructuralPartialEq for LockAction
Auto Trait Implementations§
impl Freeze for LockAction
impl RefUnwindSafe for LockAction
impl Send for LockAction
impl Sync for LockAction
impl Unpin for LockAction
impl UnwindSafe for LockAction
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