pub enum PublicErrorCode {
Show 13 variants
ValidationFailed,
NotFound,
Conflict,
Unauthorized,
Forbidden,
PreconditionFailed,
UnsupportedProtocolVersion,
UnsupportedOperation,
OperationFailed,
OperationNotReady,
OperationResultUnavailable,
RateLimited,
Internal,
}Expand description
Already-public protocol codes retained without error messages or details.
Variants§
ValidationFailed
NotFound
Conflict
Forbidden
PreconditionFailed
UnsupportedProtocolVersion
UnsupportedOperation
OperationFailed
OperationNotReady
RateLimited
Internal
Trait Implementations§
Source§impl Clone for PublicErrorCode
impl Clone for PublicErrorCode
Source§fn clone(&self) -> PublicErrorCode
fn clone(&self) -> PublicErrorCode
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 PublicErrorCode
impl Debug for PublicErrorCode
Source§impl<'de> Deserialize<'de> for PublicErrorCode
impl<'de> Deserialize<'de> for PublicErrorCode
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 Serialize for PublicErrorCode
impl Serialize for PublicErrorCode
impl Copy for PublicErrorCode
Auto Trait Implementations§
impl Freeze for PublicErrorCode
impl RefUnwindSafe for PublicErrorCode
impl Send for PublicErrorCode
impl Sync for PublicErrorCode
impl Unpin for PublicErrorCode
impl UnsafeUnpin for PublicErrorCode
impl UnwindSafe for PublicErrorCode
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