pub enum LockType {
Update,
NoKeyUpdate,
Share,
KeyShare,
}Expand description
List of lock types that can be used in select statement
Variants§
Update
Exclusive lock
NoKeyUpdate
PostgreSQL only; MySQL refuses to render it
Shared lock
PostgreSQL only; MySQL refuses to render it
Trait Implementations§
impl Copy for LockType
impl Eq for LockType
impl StructuralPartialEq for LockType
Auto Trait Implementations§
impl Forget for LockType
impl Freeze for LockType
impl Move for LockType
impl RefUnwindSafe for LockType
impl Send for LockType
impl Sync for LockType
impl Unpin for LockType
impl UnsafeUnpin for LockType
impl UnwindSafe for LockType
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