Type Alias Result

Source
pub type Result<'a, T> = Result<T, Error<'a>>;
Expand description

Result type.

Aliased Type§

pub enum Result<'a, T> {
    Ok(T),
    Err(OpenProtocolError<'a>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(OpenProtocolError<'a>)

Contains the error value