Enum ftp::types::FtpError [] [src]

pub enum FtpError {
    ConnectionError(Error),
    SecureError(String),
    InvalidResponse(String),
    InvalidAddress(AddrParseError),
}

FtpError is a library-global error type to describe the different kinds of errors that might occur while using FTP.

Variants

ConnectionError(Error)SecureError(String)InvalidResponse(String)InvalidAddress(AddrParseError)

Trait Implementations

impl Debug for FtpError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for FtpError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for FtpError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more