pub enum ErrorClass {
InvalidArgument,
Conflict,
PermissionDenied,
DeadlineExceeded,
FailedPrecondition,
Unavailable,
Uncertain,
Internal,
}Expand description
A protocol-neutral classification for a public failure.
Variants§
InvalidArgument
The submitted request is invalid and must be corrected.
Conflict
The request conflicts with previously admitted state.
PermissionDenied
The principal is not permitted to perform the operation.
DeadlineExceeded
The operation did not complete before its deadline.
FailedPrecondition
The request targets a contract state that is no longer current.
A required service is temporarily unavailable.
Uncertain
The caller must resolve an uncertain command result.
Internal
The server encountered a defect that is not safe to disclose.
Trait Implementations§
Source§impl Clone for ErrorClass
impl Clone for ErrorClass
impl Copy for ErrorClass
Source§impl Debug for ErrorClass
impl Debug for ErrorClass
impl Eq for ErrorClass
Source§impl Hash for ErrorClass
impl Hash for ErrorClass
Source§impl PartialEq for ErrorClass
impl PartialEq for ErrorClass
impl StructuralPartialEq for ErrorClass
Auto Trait Implementations§
impl Freeze for ErrorClass
impl RefUnwindSafe for ErrorClass
impl Send for ErrorClass
impl Sync for ErrorClass
impl Unpin for ErrorClass
impl UnsafeUnpin for ErrorClass
impl UnwindSafe for ErrorClass
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