Type Alias shuttle_rocket::ShuttleRocket

source ·
pub type ShuttleRocket = Result<RocketService, Error>;
Expand description

The return type that should be returned from the [shuttle_runtime::main] function.

Aliased Type§

enum ShuttleRocket {
    Ok(RocketService),
    Err(Error),
}

Variants§

§1.0.0

Ok(RocketService)

Contains the success value

§1.0.0

Err(Error)

Contains the error value