Type Alias mfio::error::Result

source ·
pub type Result<T> = Result<T, Error>;

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

source§

impl<T> ErrorSpecify for Result<T>

source§

fn code(self, code: Code) -> Self

source§

fn subject(self, subject: Subject) -> Self

source§

fn state(self, state: State) -> Self

source§

fn location(self, location: Location) -> Self