Enum seaplane::error::SeaplaneError
source · pub enum SeaplaneError {
Show 23 variants
UnknownHttp(Error),
Decode(String),
MissingRequestApiKey,
MissingRequestAuthToken,
MissingFormationName,
UrlParse(ParseError),
Json(Error),
MissingActiveConfiguration,
MissingUuid,
ConflictingParams,
EmptyFlights,
NoGatewayFlight,
InvalidGatewayFlight,
MissingFlightName,
MissingFlightImageReference,
ConflictingRequirements,
MissingMetadataKey,
IncorrectMetadataRequestTarget,
IncorrectLocksRequestTarget,
IncorrectRestrictRequestTarget,
ApiResponse(ApiError),
FormationValidation(FormationValidation),
ComputeRequest(ComputeRequest),
}Variants§
UnknownHttp(Error)
Decode(String)
MissingRequestApiKey
MissingRequestAuthToken
MissingFormationName
UrlParse(ParseError)
Json(Error)
MissingActiveConfiguration
MissingUuid
ConflictingParams
EmptyFlights
NoGatewayFlight
InvalidGatewayFlight
MissingFlightName
MissingFlightImageReference
ConflictingRequirements
MissingMetadataKey
IncorrectMetadataRequestTarget
IncorrectLocksRequestTarget
IncorrectRestrictRequestTarget
ApiResponse(ApiError)
FormationValidation(FormationValidation)
ComputeRequest(ComputeRequest)
Trait Implementations§
source§impl Debug for SeaplaneError
impl Debug for SeaplaneError
source§impl Display for SeaplaneError
impl Display for SeaplaneError
source§impl Error for SeaplaneError
impl Error for SeaplaneError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ApiError> for SeaplaneError
impl From<ApiError> for SeaplaneError
source§impl From<ComputeRequest> for SeaplaneError
impl From<ComputeRequest> for SeaplaneError
source§fn from(source: ComputeRequest) -> Self
fn from(source: ComputeRequest) -> Self
Converts to this type from the input type.
source§impl From<Error> for SeaplaneError
impl From<Error> for SeaplaneError
source§impl From<Error> for SeaplaneError
impl From<Error> for SeaplaneError
source§impl From<FormationValidation> for SeaplaneError
impl From<FormationValidation> for SeaplaneError
source§fn from(source: FormationValidation) -> Self
fn from(source: FormationValidation) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for SeaplaneError
impl From<ParseError> for SeaplaneError
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.