pub trait IntoIsOk<T, E> {
// Required method
fn into_is_ok(self) -> bool;
}Expand description
Consumes a result and reduces it to success or failure.
Both contained values are discarded. The returned Boolean records only
whether the original result was Ok.
Required Methods§
Sourcefn into_is_ok(self) -> bool
fn into_is_ok(self) -> bool
Reports whether the consumed result is Ok.
The success value and error are both discarded. No conversion or logging is performed for either branch.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".