Enum config_file_handler::Error []

pub enum Error {
    EnvError(VarError),
    IoError(Error),
    JsonDecoderError(DecoderError),
    JsonEncoderError(EncoderError),
    JsonParserError(ParserError),
}

Error types.

Variants

EnvError(VarError)

Wrapper for a ::std::env::VarError

IoError(Error)

Wrapper for a ::std::io::Error

JsonDecoderError(DecoderError)

Wrapper for a ::rustc_serialize::json::DecoderError

JsonEncoderError(EncoderError)

Wrapper for a ::rustc_serialize::json::EncoderError

JsonParserError(ParserError)

Wrapper for a rustc_serialize::json::ParserError

Trait Implementations

impl Debug for Error
[src]

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

Formats the value using the given formatter.

impl Display for Error

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

Formats the value using the given formatter.

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

fn from(err: VarError) -> Error

Performs the conversion.

impl From<Error> for Error

fn from(err: Error) -> Error

Performs the conversion.

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.