#[repr(i32)]pub enum LockMode {
NoLock = 0,
AccessShareLock = 1,
RowShareLock = 2,
RowExclusiveLock = 3,
ShareUpdateExclusiveLock = 4,
ShareLock = 5,
ShareRowExclusiveLock = 6,
ExclusiveLock = 7,
AccessExclusiveLock = 8,
}
Variants§
Implementations§
Trait Implementations§
source§impl Ord for LockMode
impl Ord for LockMode
source§impl PartialEq for LockMode
impl PartialEq for LockMode
source§impl PartialOrd for LockMode
impl PartialOrd for LockMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LockMode
impl Eq for LockMode
impl StructuralEq for LockMode
impl StructuralPartialEq for LockMode
Auto Trait Implementations§
impl RefUnwindSafe for LockMode
impl Send for LockMode
impl Sync for LockMode
impl Unpin for LockMode
impl UnwindSafe for LockMode
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