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

pub enum LaunchErrorKind {
    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.



Binding to the provided address/port failed.


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

impl !RefUnwindSafe for LaunchErrorKind

impl Send for LaunchErrorKind

impl Sync for LaunchErrorKind

impl Unpin for LaunchErrorKind

impl !UnwindSafe for LaunchErrorKind

Blanket Implementations

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

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoCollection<T> for T

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,