Type Alias melib::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 From<ImapResponse> for Result<()>

source§

fn from(resp: ImapResponse) -> Self

Converts to this type from the input type.
source§

impl<'s> From<Reply<'s>> for Result<ReplyCode>

source§

fn from(val: Reply<'s>) -> Self

Converts to this type from the input type.