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)CollisionFailedFairingUnknown(Box<Error + Send + Sync>)
Trait Implementations
impl Debug for LaunchErrorKind[src]
impl Debug for LaunchErrorKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<LaunchErrorKind> for LaunchError[src]
impl From<LaunchErrorKind> for LaunchErrorfn from(kind: LaunchErrorKind) -> LaunchError[src]
fn from(kind: LaunchErrorKind) -> LaunchErrorPerforms the conversion.
impl Display for LaunchErrorKind[src]
impl Display for LaunchErrorKindAuto Trait Implementations
impl Send for LaunchErrorKind
impl Send for LaunchErrorKindimpl Sync for LaunchErrorKind
impl Sync for LaunchErrorKind