Enum grpcio_sys::GrpcStatusCode
[−]
[src]
#[repr(C)]pub enum GrpcStatusCode { Ok, Cancelled, Unknown, InvalidArgument, DeadlineExceeded, NotFound, AlreadyExists, PermissionDenied, Unauthenticated, ResourceExhausted, FailedPrecondition, Aborted, OutOfRange, Unimplemented, Internal, Unavailable, DataLoss, }
Variants
OkCancelledUnknownInvalidArgumentDeadlineExceededNotFoundAlreadyExistsPermissionDeniedUnauthenticatedResourceExhaustedFailedPreconditionAbortedOutOfRangeUnimplementedInternalDataLoss
Trait Implementations
impl Debug for GrpcStatusCode[src]
impl PartialEq for GrpcStatusCode[src]
fn eq(&self, __arg_0: &GrpcStatusCode) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Clone for GrpcStatusCode[src]
fn clone(&self) -> GrpcStatusCode[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for GrpcStatusCode[src]
impl From<i32> for GrpcStatusCode[src]
fn from(code: i32) -> GrpcStatusCode[src]
Performs the conversion.