pub trait PartialResultExt<T, F, E> {
// Required method
fn partial_success(value: T, failure: F) -> Self;
}Expand description
A trait that extends PartialResult<T, F, E> with additional methods.
Required Methods§
Sourcefn partial_success(value: T, failure: F) -> Self
fn partial_success(value: T, failure: F) -> Self
Creates a new PartialResult<T, F, E> with the given value and failure.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".