pub trait ResultUtils<T, E> {
// Required methods
fn if_ok<F: FnOnce(&T)>(self, f: F) -> Self;
fn if_err<F: FnOnce(&E)>(self, f: F) -> Self;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.