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 · 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<'de> Deserialize<'de> for LockTableMode
impl<'de> Deserialize<'de> for LockTableMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 · 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§impl PartialOrd for LockTableMode
impl PartialOrd for LockTableMode
Source§impl Serialize for LockTableMode
impl Serialize for LockTableMode
Source§impl Visit for LockTableMode
impl Visit for LockTableMode
Source§impl VisitMut for LockTableMode
impl VisitMut for LockTableMode
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl 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