pub enum ClientErrorCode {
IncompatibleVersion,
Unauthenticated,
Unauthorized,
TenantQuota,
RateLimited,
ResidencyDenied,
TooLarge,
DeadlineExceeded,
Conflict,
BackendUnavailable,
MalformedFrame,
}Expand description
Stable client error codes.
Variants§
IncompatibleVersion
No common supported protocol version.
Unauthenticated
Identity is missing.
Identity is not allowed.
TenantQuota
Tenant quota exceeded.
RateLimited
Rate limited.
ResidencyDenied
Residency policy denied value movement.
TooLarge
Request or value too large.
DeadlineExceeded
Deadline expired.
Conflict
Optimistic conflict.
Backend unavailable.
MalformedFrame
Frame or payload is malformed.
Trait Implementations§
Source§impl Clone for ClientErrorCode
impl Clone for ClientErrorCode
Source§fn clone(&self) -> ClientErrorCode
fn clone(&self) -> ClientErrorCode
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 ClientErrorCode
Source§impl Debug for ClientErrorCode
impl Debug for ClientErrorCode
Source§impl<'de> Deserialize<'de> for ClientErrorCode
impl<'de> Deserialize<'de> for ClientErrorCode
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
impl Eq for ClientErrorCode
Source§impl PartialEq for ClientErrorCode
impl PartialEq for ClientErrorCode
Source§fn eq(&self, other: &ClientErrorCode) -> bool
fn eq(&self, other: &ClientErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClientErrorCode
impl Serialize for ClientErrorCode
impl StructuralPartialEq for ClientErrorCode
Auto Trait Implementations§
impl Freeze for ClientErrorCode
impl RefUnwindSafe for ClientErrorCode
impl Send for ClientErrorCode
impl Sync for ClientErrorCode
impl Unpin for ClientErrorCode
impl UnsafeUnpin for ClientErrorCode
impl UnwindSafe for ClientErrorCode
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