pub enum Status {
Show 17 variants
Ok(u32),
Cancelled(String, u32),
Unknown(String, u32),
InvalidArgument(String, u32),
DeadlineExceeded(String, u32),
NotFound(String, u32),
AlreadyExists(String, u32),
PermissionDenied(String, u32),
ResourceExhausted(String, u32),
FailedPrecondition(String, u32),
Aborted(String, u32),
OutOfRange(String, u32),
Unimplemented(String, u32),
Internal(String, u32),
Unavailable(String, u32),
DataLoss(String, u32),
Unauthenticated(String, u32),
}
Variants§
Ok(u32)
Cancelled(String, u32)
Unknown(String, u32)
InvalidArgument(String, u32)
DeadlineExceeded(String, u32)
NotFound(String, u32)
AlreadyExists(String, u32)
PermissionDenied(String, u32)
ResourceExhausted(String, u32)
FailedPrecondition(String, u32)
Aborted(String, u32)
OutOfRange(String, u32)
Unimplemented(String, u32)
Internal(String, u32)
DataLoss(String, u32)
Unauthenticated(String, u32)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Error for Status
impl Error for Status
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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