pub enum TableLockMode {
AccessShare,
RowShare,
RowExclusive,
ShareUpdateExclusive,
Share,
ShareRowExclusive,
Exclusive,
AccessExclusive,
}Expand description
Explicit table-lock modes; compatibility is owned by the execution lock manager.
Variants§
Trait Implementations§
Source§impl Clone for TableLockMode
impl Clone for TableLockMode
impl Copy for TableLockMode
Source§impl Debug for TableLockMode
impl Debug for TableLockMode
Source§impl<'de> Deserialize<'de> for TableLockMode
impl<'de> Deserialize<'de> for TableLockMode
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
impl Eq for TableLockMode
Source§impl PartialEq for TableLockMode
impl PartialEq for TableLockMode
Source§impl Serialize for TableLockMode
impl Serialize for TableLockMode
impl StructuralPartialEq for TableLockMode
Auto Trait Implementations§
impl Freeze for TableLockMode
impl RefUnwindSafe for TableLockMode
impl Send for TableLockMode
impl Sync for TableLockMode
impl Unpin for TableLockMode
impl UnsafeUnpin for TableLockMode
impl UnwindSafe for TableLockMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more