pub trait StatusExt: Borrow<Status> {
// Required methods
fn is_rejection(&self) -> bool;
fn not_found<T: FromHex>(&self) -> Option<Vec<T>>;
}Expand description
Extension trait for tonic::Status
Required Methods§
Sourcefn is_rejection(&self) -> bool
fn is_rejection(&self) -> bool
Whether the server rejected the request and no state has changed
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".