[][src]Enum saphir::error::ServerError

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 From<AddrParseError> for ServerError
[src]

impl From<Error> for ServerError
[src]

impl From<Canceled> for ServerError
[src]

impl From<InvalidUri> for ServerError
[src]

impl From<Error> for ServerError
[src]

impl Display for ServerError
[src]

impl Debug for ServerError
[src]

impl Error for ServerError
[src]

Deprecated since 1.33.0

: replaced by Error::source, which can support downcasting

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

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

Auto Trait Implementations

impl Send for ServerError

impl Sync for ServerError

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T