#[non_exhaustive]pub enum OpCode {
Show 39 variants
Get,
Set,
Add,
Replace,
Delete,
Increment,
Decrement,
Noop,
Touch,
GAT,
Append,
Prepend,
Hello,
GetClusterConfig,
GetCollectionId,
SubDocGet,
SubDocExists,
SubDocDictAdd,
SubDocDictSet,
SubDocDelete,
SubDocReplace,
SubDocArrayPushLast,
SubDocArrayPushFirst,
SubDocArrayInsert,
SubDocArrayAddUnique,
SubDocCounter,
SubDocMultiLookup,
SubDocMultiMutation,
SubDocGetCount,
SubDocReplaceBodyWithXattr,
GetErrorMap,
SelectBucket,
GetLocked,
UnlockKey,
GetMeta,
SASLAuth,
SASLListMechs,
SASLStep,
Unknown(u8),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Get
Set
Add
Replace
Delete
Increment
Decrement
Noop
Touch
GAT
Append
Prepend
Hello
GetClusterConfig
GetCollectionId
SubDocGet
SubDocExists
SubDocDictAdd
SubDocDictSet
SubDocDelete
SubDocReplace
SubDocArrayPushLast
SubDocArrayPushFirst
SubDocArrayInsert
SubDocArrayAddUnique
SubDocCounter
SubDocMultiLookup
SubDocMultiMutation
SubDocGetCount
SubDocReplaceBodyWithXattr
GetErrorMap
SelectBucket
GetLocked
UnlockKey
GetMeta
SASLAuth
SASLListMechs
SASLStep
Unknown(u8)
Trait Implementations§
Source§impl From<LookupInOpType> for OpCode
impl From<LookupInOpType> for OpCode
Source§fn from(op_type: LookupInOpType) -> Self
fn from(op_type: LookupInOpType) -> Self
Converts to this type from the input type.
Source§impl From<MutateInOpType> for OpCode
impl From<MutateInOpType> for OpCode
Source§fn from(op_type: MutateInOpType) -> Self
fn from(op_type: MutateInOpType) -> Self
Converts to this type from the input type.
impl Copy for OpCode
impl Eq for OpCode
impl StructuralPartialEq for OpCode
Auto Trait Implementations§
impl Freeze for OpCode
impl RefUnwindSafe for OpCode
impl Send for OpCode
impl Sync for OpCode
impl Unpin for OpCode
impl UnsafeUnpin for OpCode
impl UnwindSafe for OpCode
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<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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.