[][src]Enum rocket::error::LaunchErrorKind

pub enum LaunchErrorKind {
    Bind(Error),
    Io(Error),
    Collision(Vec<(Route, Route)>),
    FailedFairings(Vec<&'static str>),
    Unknown(Box<dyn Error + Send + Sync>),
}

The kind of launch error that occurred.

In almost every instance, a launch error occurs because of an I/O error; this is represented by the Io variant. A launch error may also occur because of ill-defined routes that lead to collisions or because a fairing encountered an error; these are represented by the Collision and FailedFairing variants, respectively. The Unknown variant captures all other kinds of launch errors.

Variants

Bind(Error)

Binding to the provided address/port failed.

Io(Error)

An I/O error occurred during launch.

Collision(Vec<(Route, Route)>)

Route collisions were detected.

FailedFairings(Vec<&'static str>)

A launch fairing reported an error.

Unknown(Box<dyn Error + Send + Sync>)

An otherwise uncategorized error occurred during launch.

Trait Implementations

impl Debug for LaunchErrorKind[src]

impl Display for LaunchErrorKind[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> IntoCollection<T> for T[src]

impl<T, I> AsResult<T, I> for T where
    I: Input
[src]