pub trait Wrap<T> {
// Required method
fn wrap(self) -> Result<T>;
}Expand description
Trait for a std::result::Result that can be wrapped into a Result
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".