pub trait IsResultType: IsResultTypeSealed {
    type Ok;
    type Err;
}
Expand description

Extract Ok and Err variants from Result type.

Required Associated Types§

source

type Ok

The T type of the Result<T, E>.

source

type Err

The E type of the Result<T, E>.

Implementations on Foreign Types§

source§

impl<T, E> IsResultType for Result<T, E>

§

type Ok = T

§

type Err = E

Implementors§