pub enum LockWait {
NoWait,
SkipLocked,
}Expand description
The SQL lock wait forms represented by the AST.
Variants§
NoWait
NOWAIT: error immediately rather than wait for a conflicting lock.
SkipLocked
SKIP LOCKED: silently omit rows that are already locked.
Trait Implementations§
impl Copy for LockWait
Source§impl<'de> Deserialize<'de> for LockWait
impl<'de> Deserialize<'de> for LockWait
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 LockWait
impl StructuralPartialEq for LockWait
Auto Trait Implementations§
impl Freeze for LockWait
impl RefUnwindSafe for LockWait
impl Send for LockWait
impl Sync for LockWait
impl Unpin for LockWait
impl UnsafeUnpin for LockWait
impl UnwindSafe for LockWait
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