#[repr(u32)]pub enum OperatorCapability {
Insert = 1,
Update = 2,
Delete = 4,
Expire = 32,
}Variants§
Implementations§
Source§impl OperatorCapability
impl OperatorCapability
pub const STANDARD: &'static [OperatorCapability]
pub const ALL: &'static [OperatorCapability]
pub const fn bit(self) -> u32
Trait Implementations§
Source§impl Clone for OperatorCapability
impl Clone for OperatorCapability
Source§fn clone(&self) -> OperatorCapability
fn clone(&self) -> OperatorCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperatorCapability
Source§impl Debug for OperatorCapability
impl Debug for OperatorCapability
impl Eq for OperatorCapability
Source§impl Hash for OperatorCapability
impl Hash for OperatorCapability
Source§impl PartialEq for OperatorCapability
impl PartialEq for OperatorCapability
impl StructuralPartialEq for OperatorCapability
Auto Trait Implementations§
impl Freeze for OperatorCapability
impl RefUnwindSafe for OperatorCapability
impl Send for OperatorCapability
impl Sync for OperatorCapability
impl Unpin for OperatorCapability
impl UnsafeUnpin for OperatorCapability
impl UnwindSafe for OperatorCapability
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more