pub enum LockBehavior {
Nowait,
SkipLocked,
}
Expand description
List of lock behavior can be used in select statement
Variantsยง
Trait Implementationsยง
sourceยงimpl Clone for LockBehavior
impl Clone for LockBehavior
sourceยงfn clone(&self) -> LockBehavior
fn clone(&self) -> LockBehavior
Returns a copy 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 LockBehavior
impl Debug for LockBehavior
sourceยงimpl PartialEq for LockBehavior
impl PartialEq for LockBehavior
impl Copy for LockBehavior
impl Eq for LockBehavior
impl StructuralPartialEq for LockBehavior
Auto Trait Implementationsยง
impl Freeze for LockBehavior
impl RefUnwindSafe for LockBehavior
impl Send for LockBehavior
impl Sync for LockBehavior
impl Unpin for LockBehavior
impl UnwindSafe for LockBehavior
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,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)