Enum rocket::error::LaunchErrorKind [−][src]
pub enum LaunchErrorKind {
Bind(Error),
Io(Error),
Collision(Vec<(Route, Route)>),
FailedFairings(Vec<&'static str>),
Unknown(Box<dyn Error + Send + Sync>),
}Expand description
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.
Route collisions were detected.
A launch fairing reported an error.
An otherwise uncategorized error occurred during launch.
Trait Implementations
impl Debug for LaunchErrorKind[src]
impl Debug 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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> IntoCollection<T> for T[src]
impl<T> IntoCollection<T> for T[src]pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>, [src]
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>, [src]Converts self into a collection.
pub fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
F: FnMut(T) -> U,
A: Array<Item = U>, [src]
F: FnMut(T) -> U,
A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,