pub enum RemoteFailureCode {
Show 17 variants
Unspecified,
Cancelled,
Unknown,
InvalidArgument,
DeadlineExceeded,
NotFound,
AlreadyExists,
PermissionDenied,
ResourceExhausted,
FailedPrecondition,
Aborted,
OutOfRange,
Unimplemented,
Internal,
Unavailable,
DataLoss,
Unauthenticated,
}Expand description
Stable outcome vocabulary for a failed hosted call. This mirrors the governed API contract without depending on generated protobuf types.
Variants§
Unspecified
Cancelled
Unknown
InvalidArgument
DeadlineExceeded
NotFound
AlreadyExists
PermissionDenied
ResourceExhausted
FailedPrecondition
Aborted
OutOfRange
Unimplemented
Internal
DataLoss
Unauthenticated
Trait Implementations§
Source§impl Clone for RemoteFailureCode
impl Clone for RemoteFailureCode
Source§fn clone(&self) -> RemoteFailureCode
fn clone(&self) -> RemoteFailureCode
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 RemoteFailureCode
Source§impl Debug for RemoteFailureCode
impl Debug for RemoteFailureCode
Source§impl<'de> Deserialize<'de> for RemoteFailureCode
impl<'de> Deserialize<'de> for RemoteFailureCode
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 RemoteFailureCode
Source§impl PartialEq for RemoteFailureCode
impl PartialEq for RemoteFailureCode
Source§impl Serialize for RemoteFailureCode
impl Serialize for RemoteFailureCode
impl StructuralPartialEq for RemoteFailureCode
Auto Trait Implementations§
impl Freeze for RemoteFailureCode
impl RefUnwindSafe for RemoteFailureCode
impl Send for RemoteFailureCode
impl Sync for RemoteFailureCode
impl Unpin for RemoteFailureCode
impl UnsafeUnpin for RemoteFailureCode
impl UnwindSafe for RemoteFailureCode
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