Enum agnes::error::NetError
[−]
[src]
pub enum NetError { UnsupportedUriScheme(Option<String>), Tls(Error), Http(Error), LocalFile, }
Error that stems from some sort of network-related exception.
Variants
UnsupportedUriScheme(Option<String>)
Unsupported URI scheme (http, ftp, ssh, etc.)
Tls(Error)
Secure layer error.
Http(Error)
HTTP error.
LocalFile
Local file error
Trait Implementations
impl Debug for NetError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for NetError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for NetError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<NetError> for AgnesError
[src]
fn from(err: NetError) -> AgnesError
[src]
Performs the conversion.