Enum saphir::ServerError[][src]

pub enum ServerError {
    HyperError(Error),
    FutureCancelledError(Canceled),
    ParseError(AddrParseError),
    InvalidUri(InvalidUri),
    UnsupportedUriScheme,
    IOError(Error),
    BadListenerConfig,
}

Potential server errors

Variants

An Hyper Error

A cancellation Error

A parsing error of addr

An invalid URI

Unsupported URI Scheme

IO error

Bad listener configuration

Trait Implementations

impl Debug for ServerError
[src]

Formats the value using the given formatter. Read more

impl From<AddrParseError> for ServerError
[src]

Performs the conversion.

impl From<Error> for ServerError
[src]

Performs the conversion.

impl From<Canceled> for ServerError
[src]

Performs the conversion.

impl From<InvalidUri> for ServerError
[src]

Performs the conversion.

impl From<Error> for ServerError
[src]

Performs the conversion.

impl Error for ServerError
[src]

This method is soft-deprecated. Read more

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

impl Display for ServerError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ServerError

impl Sync for ServerError