pub enum LockType {
Share,
Update,
}Expand description
The lock type used in FOR <lock> clauses (e.g. FOR SHARE, FOR UPDATE).
Variants§
Trait Implementations§
Source§impl Ord for LockType
impl Ord for LockType
Source§impl PartialOrd for LockType
impl PartialOrd for LockType
Source§impl VisitMut for LockType
impl VisitMut for LockType
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 Copy for LockType
impl Eq for LockType
impl StructuralPartialEq for LockType
Auto Trait Implementations§
impl Freeze 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