pub enum ProtocolErrorCode {
Show 13 variants
ValidationFailed,
NotFound,
Conflict,
Unauthorized,
Forbidden,
PreconditionFailed,
UnsupportedProtocolVersion,
UnsupportedOperation,
OperationFailed,
OperationNotReady,
OperationResultUnavailable,
RateLimited,
Internal,
}Variants§
ValidationFailed
NotFound
Conflict
Forbidden
PreconditionFailed
UnsupportedProtocolVersion
UnsupportedOperation
OperationFailed
OperationNotReady
RateLimited
Internal
Trait Implementations§
Source§impl Clone for ProtocolErrorCode
impl Clone for ProtocolErrorCode
Source§fn clone(&self) -> ProtocolErrorCode
fn clone(&self) -> ProtocolErrorCode
Returns a duplicate 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 ProtocolErrorCode
impl Debug for ProtocolErrorCode
Source§impl<'de> Deserialize<'de> for ProtocolErrorCode
impl<'de> Deserialize<'de> for ProtocolErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProtocolErrorCode
impl PartialEq for ProtocolErrorCode
Source§impl Serialize for ProtocolErrorCode
impl Serialize for ProtocolErrorCode
impl Copy for ProtocolErrorCode
impl Eq for ProtocolErrorCode
impl StructuralPartialEq for ProtocolErrorCode
Auto Trait Implementations§
impl Freeze for ProtocolErrorCode
impl RefUnwindSafe for ProtocolErrorCode
impl Send for ProtocolErrorCode
impl Sync for ProtocolErrorCode
impl Unpin for ProtocolErrorCode
impl UnsafeUnpin for ProtocolErrorCode
impl UnwindSafe for ProtocolErrorCode
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