pub enum LockStrength {
Update(Span),
Share(Span),
NoKeyUpdate(Span),
KeyShare(Span),
}Expand description
Lock strength for locking
Variants§
Trait Implementations§
Source§impl Clone for LockStrength
impl Clone for LockStrength
Source§fn clone(&self) -> LockStrength
fn clone(&self) -> LockStrength
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 LockStrength
impl Debug for LockStrength
Auto Trait Implementations§
impl Freeze for LockStrength
impl RefUnwindSafe for LockStrength
impl Send for LockStrength
impl Sync for LockStrength
impl Unpin for LockStrength
impl UnsafeUnpin for LockStrength
impl UnwindSafe for LockStrength
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