Enum GrpcCode
pub enum GrpcCode
gRPC status codes.
These variants match the gRPC status codes.
Variants
-
Ok The operation completed successfully.
-
Cancelled The operation was cancelled.
-
Unknown Unknown error.
-
InvalidArgument Client specified an invalid argument.
-
DeadlineExceeded Deadline expired before operation could complete.
-
NotFound Some requested entity was not found.
-
AlreadyExists Some entity that we attempted to create already exists.
-
PermissionDenied The caller does not have permission to execute the specified operation.
-
ResourceExhausted Some resource has been exhausted.
-
FailedPrecondition The system is not in a state required for the operation's execution.
-
Aborted The operation was aborted.
-
OutOfRange Operation was attempted past the valid range.
-
Unimplemented Operation is not implemented or not supported.
-
Internal Internal error.
The service is currently unavailable.
-
DataLoss Unrecoverable data loss or corruption.
-
Unauthenticated The request does not have valid authentication credentials
Trait Implementations
impl Clone for GrpcCode
fn clone(&self) -> Self
impl Copy for GrpcCode
impl Debug for GrpcCode
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl From<NonZero<i32>> for GrpcCode
fn from(value: NonZeroI32) -> Self
impl From<i32> for GrpcCode
fn from(value: i32) -> Self