pub enum CanonicalErrorCode {
Show 15 variants
Unknown = 2,
InvalidArgument = 3,
DeadlineExceeded = 4,
NotFound = 5,
AlreadyExists = 6,
PermissionDenied = 7,
Unauthenticated = 16,
ResourceExhausted = 8,
FailedPrecondition = 9,
Aborted = 10,
OutOfRange = 11,
Unimplemented = 12,
Internal = 13,
Unavailable = 14,
DataLoss = 15,
}Variants§
Unknown = 2
InvalidArgument = 3
DeadlineExceeded = 4
NotFound = 5
AlreadyExists = 6
PermissionDenied = 7
Unauthenticated = 16
ResourceExhausted = 8
FailedPrecondition = 9
Aborted = 10
OutOfRange = 11
Unimplemented = 12
Internal = 13
DataLoss = 15
Implementations§
Trait Implementations§
Source§impl Debug for CanonicalErrorCode
impl Debug for CanonicalErrorCode
Source§impl From<CanonicalErrorCode> for StatusCode
impl From<CanonicalErrorCode> for StatusCode
Source§fn from(error_code: CanonicalErrorCode) -> Self
fn from(error_code: CanonicalErrorCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CanonicalErrorCode
impl PartialEq for CanonicalErrorCode
impl StructuralPartialEq for CanonicalErrorCode
Auto Trait Implementations§
impl Freeze for CanonicalErrorCode
impl RefUnwindSafe for CanonicalErrorCode
impl Send for CanonicalErrorCode
impl Sync for CanonicalErrorCode
impl Unpin for CanonicalErrorCode
impl UnwindSafe for CanonicalErrorCode
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