#[repr(u8)]pub enum LockTarget {
User = 1,
Tid = 2,
Epc = 3,
AccessPassword = 4,
KillPassword = 5,
}Expand description
Lock target for specifying which memory area to lock
Variants§
User = 1
User memory bank
Tid = 2
TID memory bank
Epc = 3
EPC memory bank
AccessPassword = 4
Access password
KillPassword = 5
Kill password
Trait Implementations§
Source§impl Clone for LockTarget
impl Clone for LockTarget
Source§fn clone(&self) -> LockTarget
fn clone(&self) -> LockTarget
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 LockTarget
impl Debug for LockTarget
Source§impl PartialEq for LockTarget
impl PartialEq for LockTarget
impl Copy for LockTarget
impl Eq for LockTarget
impl StructuralPartialEq for LockTarget
Auto Trait Implementations§
impl Freeze for LockTarget
impl RefUnwindSafe for LockTarget
impl Send for LockTarget
impl Sync for LockTarget
impl Unpin for LockTarget
impl UnwindSafe for LockTarget
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