Enum migration::LockBehavior
pub enum LockBehavior {
Nowait,
SkipLocked,
}
Expand description
List of lock behavior can be used in select statement
Variants§
Trait Implementations§
§impl Clone for LockBehavior
impl Clone for LockBehavior
§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 more§impl Debug for LockBehavior
impl Debug for LockBehavior
§impl PartialEq<LockBehavior> for LockBehavior
impl PartialEq<LockBehavior> for LockBehavior
§fn eq(&self, other: &LockBehavior) -> bool
fn eq(&self, other: &LockBehavior) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LockBehavior
impl Eq for LockBehavior
impl StructuralEq for LockBehavior
impl StructuralPartialEq for LockBehavior
Auto Trait Implementations§
impl RefUnwindSafe for LockBehavior
impl Send for LockBehavior
impl Sync for LockBehavior
impl Unpin for LockBehavior
impl UnwindSafe for LockBehavior
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.