#[repr(i32)]pub enum LockClauseStrength {
Undefined = 0,
LcsNone = 1,
LcsForkeyshare = 2,
LcsForshare = 3,
LcsFornokeyupdate = 4,
LcsForupdate = 5,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LockClauseStrength
impl Clone for LockClauseStrength
Source§fn clone(&self) -> LockClauseStrength
fn clone(&self) -> LockClauseStrength
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 LockClauseStrength
impl Debug for LockClauseStrength
Source§impl Default for LockClauseStrength
impl Default for LockClauseStrength
Source§fn default() -> LockClauseStrength
fn default() -> LockClauseStrength
Returns the “default value” for a type. Read more
Source§impl From<LockClauseStrength> for i32
impl From<LockClauseStrength> for i32
Source§fn from(value: LockClauseStrength) -> i32
fn from(value: LockClauseStrength) -> i32
Converts to this type from the input type.
Source§impl Hash for LockClauseStrength
impl Hash for LockClauseStrength
Source§impl Ord for LockClauseStrength
impl Ord for LockClauseStrength
Source§fn cmp(&self, other: &LockClauseStrength) -> Ordering
fn cmp(&self, other: &LockClauseStrength) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LockClauseStrength
impl PartialEq for LockClauseStrength
Source§impl PartialOrd for LockClauseStrength
impl PartialOrd for LockClauseStrength
impl Copy for LockClauseStrength
impl Eq for LockClauseStrength
impl StructuralPartialEq for LockClauseStrength
Auto Trait Implementations§
impl Freeze for LockClauseStrength
impl RefUnwindSafe for LockClauseStrength
impl Send for LockClauseStrength
impl Sync for LockClauseStrength
impl Unpin for LockClauseStrength
impl UnwindSafe for LockClauseStrength
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