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.
Tuple Fields of Bind
0: Error
Io(Error)
An I/O error occurred during launch.
Tuple Fields of Io
0: Error
Route collisions were detected.
A launch fairing reported an error.
An otherwise uncategorized error occurred during launch.