Enum rocket::error::LaunchErrorKind [−][src]
pub enum LaunchErrorKind { Io(Error), Collision, FailedFairing, Unknown(Box<Error + Send + Sync>), }
The kind of launch error that occured.
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
Io(Error)
Collision
FailedFairing
Unknown(Box<Error + Send + Sync>)
Trait Implementations
impl Debug for LaunchErrorKind
[src]
impl Debug for LaunchErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<LaunchErrorKind> for LaunchError
[src]
impl From<LaunchErrorKind> for LaunchError
fn from(kind: LaunchErrorKind) -> LaunchError
[src]
fn from(kind: LaunchErrorKind) -> LaunchError
Performs the conversion.
impl Display for LaunchErrorKind
[src]
impl Display for LaunchErrorKind
Auto Trait Implementations
impl Send for LaunchErrorKind
impl Send for LaunchErrorKind
impl Sync for LaunchErrorKind
impl Sync for LaunchErrorKind