pub enum LockTableMode {
AccessShare,
RowShare,
RowExclusive,
ShareUpdateExclusive,
Share,
ShareRowExclusive,
Exclusive,
AccessExclusive,
}Expand description
PostgreSQL lock modes for LOCK TABLE.
Variants§
ACCESS SHARE
ROW SHARE
RowExclusive
ROW EXCLUSIVE
SHARE UPDATE EXCLUSIVE
SHARE
SHARE ROW EXCLUSIVE
Exclusive
EXCLUSIVE
AccessExclusive
ACCESS EXCLUSIVE
Trait Implementations§
Source§impl Clone for LockTableMode
impl Clone for LockTableMode
Source§fn clone(&self) -> LockTableMode
fn clone(&self) -> LockTableMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LockTableMode
impl Debug for LockTableMode
Source§impl Display for LockTableMode
impl Display for LockTableMode
Source§impl Hash for LockTableMode
impl Hash for LockTableMode
Source§impl Ord for LockTableMode
impl Ord for LockTableMode
Source§fn cmp(&self, other: &LockTableMode) -> Ordering
fn cmp(&self, other: &LockTableMode) -> Ordering
1.21.0 (const: unstable) · 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 LockTableMode
impl PartialEq for LockTableMode
Source§fn eq(&self, other: &LockTableMode) -> bool
fn eq(&self, other: &LockTableMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LockTableMode
impl PartialOrd for LockTableMode
impl Eq for LockTableMode
impl StructuralPartialEq for LockTableMode
Auto Trait Implementations§
impl Freeze for LockTableMode
impl RefUnwindSafe for LockTableMode
impl Send for LockTableMode
impl Sync for LockTableMode
impl Unpin for LockTableMode
impl UnsafeUnpin for LockTableMode
impl UnwindSafe for LockTableMode
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