pub enum GrpcStatusCode {
Show 17 variants
Ok,
Cancelled,
Unknown,
InvalidArgument,
DeadlineExceeded,
NotFound,
AlreadyExists,
PermissionDenied,
ResourceExhausted,
FailedPrecondition,
Aborted,
OutOfRange,
Unimplemented,
Internal,
Unavailable,
DataLoss,
Unauthenticated,
}Expand description
gRPC status code labels.
Variants§
Ok
A stable label variant.
Cancelled
A stable label variant.
Unknown
A stable label variant.
InvalidArgument
A stable label variant.
DeadlineExceeded
A stable label variant.
NotFound
A stable label variant.
AlreadyExists
A stable label variant.
PermissionDenied
A stable label variant.
ResourceExhausted
A stable label variant.
FailedPrecondition
A stable label variant.
Aborted
A stable label variant.
OutOfRange
A stable label variant.
Unimplemented
A stable label variant.
Internal
A stable label variant.
A stable label variant.
DataLoss
A stable label variant.
Unauthenticated
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for GrpcStatusCode
impl Clone for GrpcStatusCode
Source§fn clone(&self) -> GrpcStatusCode
fn clone(&self) -> GrpcStatusCode
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 moreSource§impl Debug for GrpcStatusCode
impl Debug for GrpcStatusCode
Source§impl Default for GrpcStatusCode
impl Default for GrpcStatusCode
Source§impl Display for GrpcStatusCode
impl Display for GrpcStatusCode
Source§impl FromStr for GrpcStatusCode
impl FromStr for GrpcStatusCode
Source§impl Hash for GrpcStatusCode
impl Hash for GrpcStatusCode
Source§impl Ord for GrpcStatusCode
impl Ord for GrpcStatusCode
Source§fn cmp(&self, other: &GrpcStatusCode) -> Ordering
fn cmp(&self, other: &GrpcStatusCode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GrpcStatusCode
impl PartialEq for GrpcStatusCode
Source§fn eq(&self, other: &GrpcStatusCode) -> bool
fn eq(&self, other: &GrpcStatusCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GrpcStatusCode
impl PartialOrd for GrpcStatusCode
impl Copy for GrpcStatusCode
impl Eq for GrpcStatusCode
impl StructuralPartialEq for GrpcStatusCode
Auto Trait Implementations§
impl Freeze for GrpcStatusCode
impl RefUnwindSafe for GrpcStatusCode
impl Send for GrpcStatusCode
impl Sync for GrpcStatusCode
impl Unpin for GrpcStatusCode
impl UnsafeUnpin for GrpcStatusCode
impl UnwindSafe for GrpcStatusCode
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