pub type PartialResult<T, E> = Result<T, (Option<T>, E)>;
Expand description

Like Result<T,E>, but allows for functions that can return partially complete work alongside an error.

This type is available only if the crate is built with the “rustls” feature.

Aliased Type§

enum PartialResult<T, E> {
    Ok(T),
    Err((Option<T>, E)),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err((Option<T>, E))

Contains the error value