Enum config_file_handler::Error
[−]
pub enum Error { Env(VarError), Io(Error), JsonDecoder(DecoderError), JsonEncoder(EncoderError), JsonParser(ParserError), }
Error types.
Variants
Env(VarError)
Wrapper for a ::std::env::VarError
Io(Error)
Wrapper for a ::std::io::Error
JsonDecoder(DecoderError)
Wrapper for a ::rustc_serialize::json::DecoderError
JsonEncoder(EncoderError)
Wrapper for a ::rustc_serialize::json::EncoderError
JsonParser(ParserError)
Wrapper for a rustc_serialize::json::ParserError
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
impl Error for Error
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
impl From<VarError> for Error
impl From<Error> for Error
impl From<DecoderError> for Error
fn from(err: DecoderError) -> Error
Performs the conversion.
impl From<EncoderError> for Error
fn from(err: EncoderError) -> Error
Performs the conversion.
impl From<ParserError> for Error
fn from(err: ParserError) -> Error
Performs the conversion.