Struct simple_server::InvalidStatusCode[][src]

pub struct InvalidStatusCode { /* fields omitted */ }

A possible error value when converting a StatusCode from a u16 or &str

This error indicates that the supplied input was not a valid number, was less than 100, or was greater than 599.

Trait Implementations

impl Debug for InvalidStatusCode
[src]

Formats the value using the given formatter. Read more

impl From<InvalidStatusCode> for Error
[src]

Performs the conversion.

impl Error for InvalidStatusCode
[src]

This method is soft-deprecated. Read more

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

impl Display for InvalidStatusCode
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations