pub enum GrpcStatusCode {
Show 13 variants
InvalidArgument,
Unauthenticated,
PermissionDenied,
NotFound,
AlreadyExists,
DeadlineExceeded,
ResourceExhausted,
FailedPrecondition,
Aborted,
Unimplemented,
Unavailable,
DataLoss,
Internal,
}Expand description
Transport-level gRPC status primitive.
Variants§
InvalidArgument
Represents the invalid argument case.
Unauthenticated
Represents the unauthenticated case.
PermissionDenied
Represents the permission denied case.
NotFound
Represents the not found case.
AlreadyExists
Represents the already exists case.
DeadlineExceeded
Represents the deadline exceeded case.
ResourceExhausted
Represents the resource exhausted case.
FailedPrecondition
Represents the failed precondition case.
Aborted
Represents the aborted case.
Unimplemented
Represents the unimplemented case.
Represents the unavailable case.
DataLoss
Represents the data loss case.
Internal
Represents the internal case.
Trait Implementations§
Source§impl Clone for GrpcStatusCode
impl Clone for GrpcStatusCode
impl Copy for GrpcStatusCode
Source§impl Debug for GrpcStatusCode
impl Debug for GrpcStatusCode
impl Eq for GrpcStatusCode
Source§impl Hash for GrpcStatusCode
impl Hash for GrpcStatusCode
Source§impl Ord for GrpcStatusCode
impl Ord for GrpcStatusCode
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GrpcStatusCode
impl PartialEq for GrpcStatusCode
Source§impl PartialOrd for GrpcStatusCode
impl PartialOrd 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