Result

Type Alias Result 

Source
pub type Result<T> = Result<T, FtpError>;
Expand description

A shorthand for a Result whose error type is always an FtpError.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(FtpError)

Contains the error value