Enum Error

Source
#[non_exhaustive]
pub enum Error {
Show 17 variants ConflictException(ConflictException), FleetCapacityExceededException(FleetCapacityExceededException), GameSessionFullException(GameSessionFullException), IdempotentParameterMismatchException(IdempotentParameterMismatchException), InternalServiceException(InternalServiceException), InvalidFleetStatusException(InvalidFleetStatusException), InvalidGameSessionStatusException(InvalidGameSessionStatusException), InvalidRequestException(InvalidRequestException), LimitExceededException(LimitExceededException), NotFoundException(NotFoundException), NotReadyException(NotReadyException), OutOfCapacityException(OutOfCapacityException), TaggingFailedException(TaggingFailedException), TerminalRoutingStrategyException(TerminalRoutingStrategyException), UnauthorizedException(UnauthorizedException), UnsupportedRegionException(UnsupportedRegionException), Unhandled(Unhandled),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

ConflictException(ConflictException)

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.

§

FleetCapacityExceededException(FleetCapacityExceededException)

The specified fleet has no available instances to fulfill a CreateGameSession request. Clients can retry such requests immediately or after a waiting period.

§

GameSessionFullException(GameSessionFullException)

The game instance is currently full and cannot allow the requested player(s) to join. Clients can retry such requests immediately or after a waiting period.

§

IdempotentParameterMismatchException(IdempotentParameterMismatchException)

A game session with this custom ID string already exists in this fleet. Resolve this conflict before retrying this request.

§

InternalServiceException(InternalServiceException)

The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.

§

InvalidFleetStatusException(InvalidFleetStatusException)

The requested operation would cause a conflict with the current state of a resource associated with the request and/or the fleet. Resolve the conflict before retrying.

§

InvalidGameSessionStatusException(InvalidGameSessionStatusException)

The requested operation would cause a conflict with the current state of a resource associated with the request and/or the game instance. Resolve the conflict before retrying.

§

InvalidRequestException(InvalidRequestException)

One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.

§

LimitExceededException(LimitExceededException)

The requested operation would cause the resource to exceed the allowed service limit. Resolve the issue before retrying.

§

NotFoundException(NotFoundException)

The requested resources was not found. The resource was either not created yet or deleted.

§

NotReadyException(NotReadyException)

The operation failed because Amazon GameLift Servers has not yet finished validating this compute. We recommend attempting 8 to 10 retries over 3 to 5 minutes with exponential backoffs and jitter.

§

OutOfCapacityException(OutOfCapacityException)

The specified game server group has no available game servers to fulfill a ClaimGameServer request. Clients can retry such requests immediately or after a waiting period.

§

TaggingFailedException(TaggingFailedException)

The requested tagging operation did not succeed. This may be due to invalid tag format or the maximum tag limit may have been exceeded. Resolve the issue before retrying.

§

TerminalRoutingStrategyException(TerminalRoutingStrategyException)

The service is unable to resolve the routing for a particular alias because it has a terminal RoutingStrategy associated with it. The message returned in this exception is the message defined in the routing strategy itself. Such requests should only be retried if the routing strategy for the specified alias is modified.

§

UnauthorizedException(UnauthorizedException)

The client failed authentication. Clients should not retry such requests.

§

UnsupportedRegionException(UnsupportedRegionException)

The requested operation is not supported in the Region specified.

§

Unhandled(Unhandled)

👎Deprecated: Matching Unhandled directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code():    err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ } See ProvideErrorMetadata for what information is available for the error.

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

Source§

impl Debug for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for Error

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<AcceptMatchError> for Error

Source§

fn from(err: AcceptMatchError) -> Self

Converts to this type from the input type.
Source§

impl From<BuildError> for Error

Source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
Source§

impl From<ClaimGameServerError> for Error

Source§

fn from(err: ClaimGameServerError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateAliasError> for Error

Source§

fn from(err: CreateAliasError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateBuildError> for Error

Source§

fn from(err: CreateBuildError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateContainerFleetError> for Error

Source§

fn from(err: CreateContainerFleetError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateContainerGroupDefinitionError> for Error

Source§

fn from(err: CreateContainerGroupDefinitionError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateFleetError> for Error

Source§

fn from(err: CreateFleetError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateFleetLocationsError> for Error

Source§

fn from(err: CreateFleetLocationsError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateGameServerGroupError> for Error

Source§

fn from(err: CreateGameServerGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateGameSessionError> for Error

Source§

fn from(err: CreateGameSessionError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateGameSessionQueueError> for Error

Source§

fn from(err: CreateGameSessionQueueError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateLocationError> for Error

Source§

fn from(err: CreateLocationError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateMatchmakingConfigurationError> for Error

Source§

fn from(err: CreateMatchmakingConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateMatchmakingRuleSetError> for Error

Source§

fn from(err: CreateMatchmakingRuleSetError) -> Self

Converts to this type from the input type.
Source§

impl From<CreatePlayerSessionError> for Error

Source§

fn from(err: CreatePlayerSessionError) -> Self

Converts to this type from the input type.
Source§

impl From<CreatePlayerSessionsError> for Error

Source§

fn from(err: CreatePlayerSessionsError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateScriptError> for Error

Source§

fn from(err: CreateScriptError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateVpcPeeringAuthorizationError> for Error

Source§

fn from(err: CreateVpcPeeringAuthorizationError) -> Self

Converts to this type from the input type.
Source§

impl From<CreateVpcPeeringConnectionError> for Error

Source§

fn from(err: CreateVpcPeeringConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteAliasError> for Error

Source§

fn from(err: DeleteAliasError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteBuildError> for Error

Source§

fn from(err: DeleteBuildError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteContainerFleetError> for Error

Source§

fn from(err: DeleteContainerFleetError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteContainerGroupDefinitionError> for Error

Source§

fn from(err: DeleteContainerGroupDefinitionError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteFleetError> for Error

Source§

fn from(err: DeleteFleetError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteFleetLocationsError> for Error

Source§

fn from(err: DeleteFleetLocationsError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteGameServerGroupError> for Error

Source§

fn from(err: DeleteGameServerGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteGameSessionQueueError> for Error

Source§

fn from(err: DeleteGameSessionQueueError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteLocationError> for Error

Source§

fn from(err: DeleteLocationError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteMatchmakingConfigurationError> for Error

Source§

fn from(err: DeleteMatchmakingConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteMatchmakingRuleSetError> for Error

Source§

fn from(err: DeleteMatchmakingRuleSetError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteScalingPolicyError> for Error

Source§

fn from(err: DeleteScalingPolicyError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteScriptError> for Error

Source§

fn from(err: DeleteScriptError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteVpcPeeringAuthorizationError> for Error

Source§

fn from(err: DeleteVpcPeeringAuthorizationError) -> Self

Converts to this type from the input type.
Source§

impl From<DeleteVpcPeeringConnectionError> for Error

Source§

fn from(err: DeleteVpcPeeringConnectionError) -> Self

Converts to this type from the input type.
Source§

impl From<DeregisterComputeError> for Error

Source§

fn from(err: DeregisterComputeError) -> Self

Converts to this type from the input type.
Source§

impl From<DeregisterGameServerError> for Error

Source§

fn from(err: DeregisterGameServerError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeAliasError> for Error

Source§

fn from(err: DescribeAliasError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeBuildError> for Error

Source§

fn from(err: DescribeBuildError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeComputeError> for Error

Source§

fn from(err: DescribeComputeError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeContainerFleetError> for Error

Source§

fn from(err: DescribeContainerFleetError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeContainerGroupDefinitionError> for Error

Source§

fn from(err: DescribeContainerGroupDefinitionError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeEC2InstanceLimitsError> for Error

Source§

fn from(err: DescribeEC2InstanceLimitsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetAttributesError> for Error

Source§

fn from(err: DescribeFleetAttributesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetCapacityError> for Error

Source§

fn from(err: DescribeFleetCapacityError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetDeploymentError> for Error

Source§

fn from(err: DescribeFleetDeploymentError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetEventsError> for Error

Source§

fn from(err: DescribeFleetEventsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetLocationAttributesError> for Error

Source§

fn from(err: DescribeFleetLocationAttributesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetLocationCapacityError> for Error

Source§

fn from(err: DescribeFleetLocationCapacityError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetLocationUtilizationError> for Error

Source§

fn from(err: DescribeFleetLocationUtilizationError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetPortSettingsError> for Error

Source§

fn from(err: DescribeFleetPortSettingsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeFleetUtilizationError> for Error

Source§

fn from(err: DescribeFleetUtilizationError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeGameServerError> for Error

Source§

fn from(err: DescribeGameServerError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeGameServerGroupError> for Error

Source§

fn from(err: DescribeGameServerGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeGameServerInstancesError> for Error

Source§

fn from(err: DescribeGameServerInstancesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeGameSessionDetailsError> for Error

Source§

fn from(err: DescribeGameSessionDetailsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeGameSessionPlacementError> for Error

Source§

fn from(err: DescribeGameSessionPlacementError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeGameSessionQueuesError> for Error

Source§

fn from(err: DescribeGameSessionQueuesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeGameSessionsError> for Error

Source§

fn from(err: DescribeGameSessionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeInstancesError> for Error

Source§

fn from(err: DescribeInstancesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeMatchmakingConfigurationsError> for Error

Source§

fn from(err: DescribeMatchmakingConfigurationsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeMatchmakingError> for Error

Source§

fn from(err: DescribeMatchmakingError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeMatchmakingRuleSetsError> for Error

Source§

fn from(err: DescribeMatchmakingRuleSetsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribePlayerSessionsError> for Error

Source§

fn from(err: DescribePlayerSessionsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeRuntimeConfigurationError> for Error

Source§

fn from(err: DescribeRuntimeConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeScalingPoliciesError> for Error

Source§

fn from(err: DescribeScalingPoliciesError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeScriptError> for Error

Source§

fn from(err: DescribeScriptError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeVpcPeeringAuthorizationsError> for Error

Source§

fn from(err: DescribeVpcPeeringAuthorizationsError) -> Self

Converts to this type from the input type.
Source§

impl From<DescribeVpcPeeringConnectionsError> for Error

Source§

fn from(err: DescribeVpcPeeringConnectionsError) -> Self

Converts to this type from the input type.
Source§

impl From<GetComputeAccessError> for Error

Source§

fn from(err: GetComputeAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<GetComputeAuthTokenError> for Error

Source§

fn from(err: GetComputeAuthTokenError) -> Self

Converts to this type from the input type.
Source§

impl From<GetGameSessionLogUrlError> for Error

Source§

fn from(err: GetGameSessionLogUrlError) -> Self

Converts to this type from the input type.
Source§

impl From<GetInstanceAccessError> for Error

Source§

fn from(err: GetInstanceAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<ListAliasesError> for Error

Source§

fn from(err: ListAliasesError) -> Self

Converts to this type from the input type.
Source§

impl From<ListBuildsError> for Error

Source§

fn from(err: ListBuildsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListComputeError> for Error

Source§

fn from(err: ListComputeError) -> Self

Converts to this type from the input type.
Source§

impl From<ListContainerFleetsError> for Error

Source§

fn from(err: ListContainerFleetsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListContainerGroupDefinitionVersionsError> for Error

Source§

fn from(err: ListContainerGroupDefinitionVersionsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListContainerGroupDefinitionsError> for Error

Source§

fn from(err: ListContainerGroupDefinitionsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListFleetDeploymentsError> for Error

Source§

fn from(err: ListFleetDeploymentsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListFleetsError> for Error

Source§

fn from(err: ListFleetsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListGameServerGroupsError> for Error

Source§

fn from(err: ListGameServerGroupsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListGameServersError> for Error

Source§

fn from(err: ListGameServersError) -> Self

Converts to this type from the input type.
Source§

impl From<ListLocationsError> for Error

Source§

fn from(err: ListLocationsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListScriptsError> for Error

Source§

fn from(err: ListScriptsError) -> Self

Converts to this type from the input type.
Source§

impl From<ListTagsForResourceError> for Error

Source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
Source§

impl From<PutScalingPolicyError> for Error

Source§

fn from(err: PutScalingPolicyError) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterComputeError> for Error

Source§

fn from(err: RegisterComputeError) -> Self

Converts to this type from the input type.
Source§

impl From<RegisterGameServerError> for Error

Source§

fn from(err: RegisterGameServerError) -> Self

Converts to this type from the input type.
Source§

impl From<RequestUploadCredentialsError> for Error

Source§

fn from(err: RequestUploadCredentialsError) -> Self

Converts to this type from the input type.
Source§

impl From<ResolveAliasError> for Error

Source§

fn from(err: ResolveAliasError) -> Self

Converts to this type from the input type.
Source§

impl From<ResumeGameServerGroupError> for Error

Source§

fn from(err: ResumeGameServerGroupError) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<AcceptMatchError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<AcceptMatchError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ClaimGameServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ClaimGameServerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateAliasError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateBuildError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateBuildError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateContainerFleetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateContainerFleetError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateContainerGroupDefinitionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateContainerGroupDefinitionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateFleetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateFleetError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateFleetLocationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateFleetLocationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateGameServerGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateGameServerGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateGameSessionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateGameSessionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateGameSessionQueueError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateGameSessionQueueError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateLocationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateLocationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateMatchmakingConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateMatchmakingConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateMatchmakingRuleSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateMatchmakingRuleSetError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreatePlayerSessionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreatePlayerSessionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreatePlayerSessionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreatePlayerSessionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateScriptError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateScriptError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateVpcPeeringAuthorizationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateVpcPeeringAuthorizationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<CreateVpcPeeringConnectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<CreateVpcPeeringConnectionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteAliasError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteBuildError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteBuildError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteContainerFleetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteContainerFleetError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteContainerGroupDefinitionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteContainerGroupDefinitionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteFleetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteFleetError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteFleetLocationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteFleetLocationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteGameServerGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteGameServerGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteGameSessionQueueError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteGameSessionQueueError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteLocationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteLocationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteMatchmakingConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteMatchmakingConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteMatchmakingRuleSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteMatchmakingRuleSetError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteScalingPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteScalingPolicyError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteScriptError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteScriptError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteVpcPeeringAuthorizationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteVpcPeeringAuthorizationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeleteVpcPeeringConnectionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeleteVpcPeeringConnectionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeregisterComputeError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeregisterComputeError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DeregisterGameServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DeregisterGameServerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeAliasError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeBuildError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeBuildError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeComputeError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeComputeError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeContainerFleetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeContainerFleetError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeContainerGroupDefinitionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeContainerGroupDefinitionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeEC2InstanceLimitsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeEC2InstanceLimitsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetAttributesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetCapacityError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetCapacityError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetDeploymentError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetDeploymentError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetEventsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetEventsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetLocationAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetLocationAttributesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetLocationCapacityError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetLocationCapacityError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetLocationUtilizationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetLocationUtilizationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetPortSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetPortSettingsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeFleetUtilizationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeFleetUtilizationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeGameServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeGameServerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeGameServerGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeGameServerGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeGameServerInstancesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeGameServerInstancesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeGameSessionDetailsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeGameSessionDetailsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeGameSessionPlacementError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeGameSessionPlacementError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeGameSessionQueuesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeGameSessionQueuesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeGameSessionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeGameSessionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeInstancesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeInstancesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeMatchmakingConfigurationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeMatchmakingConfigurationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeMatchmakingError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeMatchmakingError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeMatchmakingRuleSetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeMatchmakingRuleSetsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribePlayerSessionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribePlayerSessionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeRuntimeConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeRuntimeConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeScalingPoliciesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeScalingPoliciesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeScriptError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeScriptError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeVpcPeeringAuthorizationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeVpcPeeringAuthorizationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<DescribeVpcPeeringConnectionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<DescribeVpcPeeringConnectionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetComputeAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<GetComputeAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetComputeAuthTokenError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<GetComputeAuthTokenError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetGameSessionLogUrlError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<GetGameSessionLogUrlError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<GetInstanceAccessError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<GetInstanceAccessError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListAliasesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListAliasesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListBuildsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListBuildsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListComputeError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListComputeError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListContainerFleetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListContainerFleetsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListContainerGroupDefinitionVersionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListContainerGroupDefinitionVersionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListContainerGroupDefinitionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListContainerGroupDefinitionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListFleetDeploymentsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListFleetDeploymentsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListFleetsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListFleetsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListGameServerGroupsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListGameServerGroupsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListGameServersError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListGameServersError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListLocationsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListLocationsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListScriptsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListScriptsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ListTagsForResourceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<PutScalingPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<PutScalingPolicyError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RegisterComputeError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RegisterComputeError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RegisterGameServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RegisterGameServerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<RequestUploadCredentialsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<RequestUploadCredentialsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ResolveAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ResolveAliasError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ResumeGameServerGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ResumeGameServerGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<SearchGameSessionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<SearchGameSessionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<StartFleetActionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<StartFleetActionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<StartGameSessionPlacementError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<StartGameSessionPlacementError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<StartMatchBackfillError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<StartMatchBackfillError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<StartMatchmakingError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<StartMatchmakingError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<StopFleetActionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<StopFleetActionsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<StopGameSessionPlacementError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<StopGameSessionPlacementError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<StopMatchmakingError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<StopMatchmakingError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<SuspendGameServerGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<SuspendGameServerGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<TagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<TagResourceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<TerminateGameSessionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<TerminateGameSessionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UntagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UntagResourceError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateAliasError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateBuildError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateBuildError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateContainerFleetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateContainerFleetError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateContainerGroupDefinitionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateContainerGroupDefinitionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateFleetAttributesError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateFleetAttributesError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateFleetCapacityError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateFleetCapacityError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateFleetPortSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateFleetPortSettingsError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateGameServerError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateGameServerError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateGameServerGroupError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateGameServerGroupError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateGameSessionError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateGameSessionError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateGameSessionQueueError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateGameSessionQueueError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateMatchmakingConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateMatchmakingConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateRuntimeConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateRuntimeConfigurationError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<UpdateScriptError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<UpdateScriptError, R>) -> Self

Converts to this type from the input type.
Source§

impl<R> From<SdkError<ValidateMatchmakingRuleSetError, R>> for Error
where R: Send + Sync + Debug + 'static,

Source§

fn from(err: SdkError<ValidateMatchmakingRuleSetError, R>) -> Self

Converts to this type from the input type.
Source§

impl From<SearchGameSessionsError> for Error

Source§

fn from(err: SearchGameSessionsError) -> Self

Converts to this type from the input type.
Source§

impl From<StartFleetActionsError> for Error

Source§

fn from(err: StartFleetActionsError) -> Self

Converts to this type from the input type.
Source§

impl From<StartGameSessionPlacementError> for Error

Source§

fn from(err: StartGameSessionPlacementError) -> Self

Converts to this type from the input type.
Source§

impl From<StartMatchBackfillError> for Error

Source§

fn from(err: StartMatchBackfillError) -> Self

Converts to this type from the input type.
Source§

impl From<StartMatchmakingError> for Error

Source§

fn from(err: StartMatchmakingError) -> Self

Converts to this type from the input type.
Source§

impl From<StopFleetActionsError> for Error

Source§

fn from(err: StopFleetActionsError) -> Self

Converts to this type from the input type.
Source§

impl From<StopGameSessionPlacementError> for Error

Source§

fn from(err: StopGameSessionPlacementError) -> Self

Converts to this type from the input type.
Source§

impl From<StopMatchmakingError> for Error

Source§

fn from(err: StopMatchmakingError) -> Self

Converts to this type from the input type.
Source§

impl From<SuspendGameServerGroupError> for Error

Source§

fn from(err: SuspendGameServerGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<TagResourceError> for Error

Source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
Source§

impl From<TerminateGameSessionError> for Error

Source§

fn from(err: TerminateGameSessionError) -> Self

Converts to this type from the input type.
Source§

impl From<UntagResourceError> for Error

Source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateAliasError> for Error

Source§

fn from(err: UpdateAliasError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateBuildError> for Error

Source§

fn from(err: UpdateBuildError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateContainerFleetError> for Error

Source§

fn from(err: UpdateContainerFleetError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateContainerGroupDefinitionError> for Error

Source§

fn from(err: UpdateContainerGroupDefinitionError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateFleetAttributesError> for Error

Source§

fn from(err: UpdateFleetAttributesError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateFleetCapacityError> for Error

Source§

fn from(err: UpdateFleetCapacityError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateFleetPortSettingsError> for Error

Source§

fn from(err: UpdateFleetPortSettingsError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateGameServerError> for Error

Source§

fn from(err: UpdateGameServerError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateGameServerGroupError> for Error

Source§

fn from(err: UpdateGameServerGroupError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateGameSessionError> for Error

Source§

fn from(err: UpdateGameSessionError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateGameSessionQueueError> for Error

Source§

fn from(err: UpdateGameSessionQueueError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateMatchmakingConfigurationError> for Error

Source§

fn from(err: UpdateMatchmakingConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateRuntimeConfigurationError> for Error

Source§

fn from(err: UpdateRuntimeConfigurationError) -> Self

Converts to this type from the input type.
Source§

impl From<UpdateScriptError> for Error

Source§

fn from(err: UpdateScriptError) -> Self

Converts to this type from the input type.
Source§

impl From<ValidateMatchmakingRuleSetError> for Error

Source§

fn from(err: ValidateMatchmakingRuleSetError) -> Self

Converts to this type from the input type.
Source§

impl ProvideErrorMetadata for Error

Source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Source§

fn code(&self) -> Option<&str>

Returns the error code if it’s available.
Source§

fn message(&self) -> Option<&str>

Returns the error message, if there is one.
Source§

impl RequestId for Error

Source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

Source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
Source§

impl<T> Paint for T
where T: ?Sized,

Source§

fn fg(&self, value: Color) -> Painted<&T>

Returns a styled value derived from self with the foreground set to value.

This method should be used rarely. Instead, prefer to use color-specific builder methods like red() and green(), which have the same functionality but are pithier.

§Example

Set foreground color to white using fg():

use yansi::{Paint, Color};

painted.fg(Color::White);

Set foreground color to white using white().

use yansi::Paint;

painted.white();
Source§

fn primary(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Primary].

§Example
println!("{}", value.primary());
Source§

fn fixed(&self, color: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Fixed].

§Example
println!("{}", value.fixed(color));
Source§

fn rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the fg() set to [Color :: Rgb].

§Example
println!("{}", value.rgb(r, g, b));
Source§

fn black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Black].

§Example
println!("{}", value.black());
Source§

fn red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Red].

§Example
println!("{}", value.red());
Source§

fn green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Green].

§Example
println!("{}", value.green());
Source§

fn yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Yellow].

§Example
println!("{}", value.yellow());
Source§

fn blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Blue].

§Example
println!("{}", value.blue());
Source§

fn magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Magenta].

§Example
println!("{}", value.magenta());
Source§

fn cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: Cyan].

§Example
println!("{}", value.cyan());
Source§

fn white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: White].

§Example
println!("{}", value.white());
Source§

fn bright_black(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlack].

§Example
println!("{}", value.bright_black());
Source§

fn bright_red(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightRed].

§Example
println!("{}", value.bright_red());
Source§

fn bright_green(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightGreen].

§Example
println!("{}", value.bright_green());
Source§

fn bright_yellow(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightYellow].

§Example
println!("{}", value.bright_yellow());
Source§

fn bright_blue(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightBlue].

§Example
println!("{}", value.bright_blue());
Source§

fn bright_magenta(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.bright_magenta());
Source§

fn bright_cyan(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightCyan].

§Example
println!("{}", value.bright_cyan());
Source§

fn bright_white(&self) -> Painted<&T>

Returns self with the fg() set to [Color :: BrightWhite].

§Example
println!("{}", value.bright_white());
Source§

fn bg(&self, value: Color) -> Painted<&T>

Returns a styled value derived from self with the background set to value.

This method should be used rarely. Instead, prefer to use color-specific builder methods like on_red() and on_green(), which have the same functionality but are pithier.

§Example

Set background color to red using fg():

use yansi::{Paint, Color};

painted.bg(Color::Red);

Set background color to red using on_red().

use yansi::Paint;

painted.on_red();
Source§

fn on_primary(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Primary].

§Example
println!("{}", value.on_primary());
Source§

fn on_fixed(&self, color: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Fixed].

§Example
println!("{}", value.on_fixed(color));
Source§

fn on_rgb(&self, r: u8, g: u8, b: u8) -> Painted<&T>

Returns self with the bg() set to [Color :: Rgb].

§Example
println!("{}", value.on_rgb(r, g, b));
Source§

fn on_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Black].

§Example
println!("{}", value.on_black());
Source§

fn on_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Red].

§Example
println!("{}", value.on_red());
Source§

fn on_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Green].

§Example
println!("{}", value.on_green());
Source§

fn on_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Yellow].

§Example
println!("{}", value.on_yellow());
Source§

fn on_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Blue].

§Example
println!("{}", value.on_blue());
Source§

fn on_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Magenta].

§Example
println!("{}", value.on_magenta());
Source§

fn on_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: Cyan].

§Example
println!("{}", value.on_cyan());
Source§

fn on_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: White].

§Example
println!("{}", value.on_white());
Source§

fn on_bright_black(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlack].

§Example
println!("{}", value.on_bright_black());
Source§

fn on_bright_red(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightRed].

§Example
println!("{}", value.on_bright_red());
Source§

fn on_bright_green(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightGreen].

§Example
println!("{}", value.on_bright_green());
Source§

fn on_bright_yellow(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightYellow].

§Example
println!("{}", value.on_bright_yellow());
Source§

fn on_bright_blue(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightBlue].

§Example
println!("{}", value.on_bright_blue());
Source§

fn on_bright_magenta(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightMagenta].

§Example
println!("{}", value.on_bright_magenta());
Source§

fn on_bright_cyan(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightCyan].

§Example
println!("{}", value.on_bright_cyan());
Source§

fn on_bright_white(&self) -> Painted<&T>

Returns self with the bg() set to [Color :: BrightWhite].

§Example
println!("{}", value.on_bright_white());
Source§

fn attr(&self, value: Attribute) -> Painted<&T>

Enables the styling Attribute value.

This method should be used rarely. Instead, prefer to use attribute-specific builder methods like bold() and underline(), which have the same functionality but are pithier.

§Example

Make text bold using attr():

use yansi::{Paint, Attribute};

painted.attr(Attribute::Bold);

Make text bold using using bold().

use yansi::Paint;

painted.bold();
Source§

fn bold(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Bold].

§Example
println!("{}", value.bold());
Source§

fn dim(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Dim].

§Example
println!("{}", value.dim());
Source§

fn italic(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Italic].

§Example
println!("{}", value.italic());
Source§

fn underline(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Underline].

§Example
println!("{}", value.underline());

Returns self with the attr() set to [Attribute :: Blink].

§Example
println!("{}", value.blink());

Returns self with the attr() set to [Attribute :: RapidBlink].

§Example
println!("{}", value.rapid_blink());
Source§

fn invert(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Invert].

§Example
println!("{}", value.invert());
Source§

fn conceal(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Conceal].

§Example
println!("{}", value.conceal());
Source§

fn strike(&self) -> Painted<&T>

Returns self with the attr() set to [Attribute :: Strike].

§Example
println!("{}", value.strike());
Source§

fn quirk(&self, value: Quirk) -> Painted<&T>

Enables the yansi Quirk value.

This method should be used rarely. Instead, prefer to use quirk-specific builder methods like mask() and wrap(), which have the same functionality but are pithier.

§Example

Enable wrapping using .quirk():

use yansi::{Paint, Quirk};

painted.quirk(Quirk::Wrap);

Enable wrapping using wrap().

use yansi::Paint;

painted.wrap();
Source§

fn mask(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Mask].

§Example
println!("{}", value.mask());
Source§

fn wrap(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Wrap].

§Example
println!("{}", value.wrap());
Source§

fn linger(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Linger].

§Example
println!("{}", value.linger());
Source§

fn clear(&self) -> Painted<&T>

👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear(). The clear() method will be removed in a future release.

Returns self with the quirk() set to [Quirk :: Clear].

§Example
println!("{}", value.clear());
Source§

fn resetting(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Resetting].

§Example
println!("{}", value.resetting());
Source§

fn bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: Bright].

§Example
println!("{}", value.bright());
Source§

fn on_bright(&self) -> Painted<&T>

Returns self with the quirk() set to [Quirk :: OnBright].

§Example
println!("{}", value.on_bright());
Source§

fn whenever(&self, value: Condition) -> Painted<&T>

Conditionally enable styling based on whether the Condition value applies. Replaces any previous condition.

See the crate level docs for more details.

§Example

Enable styling painted only when both stdout and stderr are TTYs:

use yansi::{Paint, Condition};

painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);
Source§

fn new(self) -> Painted<Self>
where Self: Sized,

Create a new Painted with a default Style. Read more
Source§

fn paint<S>(&self, style: S) -> Painted<&Self>
where S: Into<Style>,

Apply a style wholesale to self. Any previous style is replaced. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,