pub trait SharedResultExt<T> {
// Required method
fn into_result(self) -> Result<T>;
}Expand description
Converts a SharedResult into a plain Result by extracting the shared
error. See SharedError for the degrade-after-first-take behavior.
Required Methods§
Sourcefn into_result(self) -> Result<T>
fn into_result(self) -> Result<T>
Takes ownership and returns the typed error (or value).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".