Enum nickel::BodyError [] [src]

pub enum BodyError {
    Io(Error),
    WrongContentType,
}

Variants

Io(Error)WrongContentType

Trait Implementations

impl Debug for BodyError
[src]

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

Formats the value using the given formatter.

impl From<Error> for BodyError
[src]

fn from(err: Error) -> BodyError

Performs the conversion.

impl StdError for BodyError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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

impl Display for BodyError
[src]

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

Formats the value using the given formatter.