pub trait OrReject<T> {
// Required method
fn or_reject(self) -> Result<T, Rejection>;
}Expand description
A trait to unwrap a Result or Reject.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".