Enum aws_sdk_elasticbeanstalk::Error

source ·
#[non_exhaustive]
pub enum Error {
Show 20 variants CodeBuildNotInServiceRegionException(CodeBuildNotInServiceRegionException), ElasticBeanstalkServiceException(ElasticBeanstalkServiceException), InsufficientPrivilegesException(InsufficientPrivilegesException), InvalidRequestException(InvalidRequestException), ManagedActionInvalidStateException(ManagedActionInvalidStateException), OperationInProgressException(OperationInProgressException), PlatformVersionStillReferencedException(PlatformVersionStillReferencedException), ResourceNotFoundException(ResourceNotFoundException), ResourceTypeNotSupportedException(ResourceTypeNotSupportedException), S3LocationNotInServiceRegionException(S3LocationNotInServiceRegionException), S3SubscriptionRequiredException(S3SubscriptionRequiredException), SourceBundleDeletionException(SourceBundleDeletionException), TooManyApplicationVersionsException(TooManyApplicationVersionsException), TooManyApplicationsException(TooManyApplicationsException), TooManyBucketsException(TooManyBucketsException), TooManyConfigurationTemplatesException(TooManyConfigurationTemplatesException), TooManyEnvironmentsException(TooManyEnvironmentsException), TooManyPlatformsException(TooManyPlatformsException), TooManyTagsException(TooManyTagsException), 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.
§

CodeBuildNotInServiceRegionException(CodeBuildNotInServiceRegionException)

AWS CodeBuild is not available in the specified region.

§

ElasticBeanstalkServiceException(ElasticBeanstalkServiceException)

A generic service exception has occurred.

§

InsufficientPrivilegesException(InsufficientPrivilegesException)

The specified account does not have sufficient privileges for one or more AWS services.

§

InvalidRequestException(InvalidRequestException)

One or more input parameters is not valid. Please correct the input parameters and try the operation again.

§

ManagedActionInvalidStateException(ManagedActionInvalidStateException)

Cannot modify the managed action in its current state.

§

OperationInProgressException(OperationInProgressException)

Unable to perform the specified operation because another operation that effects an element in this activity is already in progress.

§

PlatformVersionStillReferencedException(PlatformVersionStillReferencedException)

You cannot delete the platform version because there are still environments running on it.

§

ResourceNotFoundException(ResourceNotFoundException)

A resource doesn't exist for the specified Amazon Resource Name (ARN).

§

ResourceTypeNotSupportedException(ResourceTypeNotSupportedException)

The type of the specified Amazon Resource Name (ARN) isn't supported for this operation.

§

S3LocationNotInServiceRegionException(S3LocationNotInServiceRegionException)

The specified S3 bucket does not belong to the S3 region in which the service is running. The following regions are supported:

  • IAD/us-east-1

  • PDX/us-west-2

  • DUB/eu-west-1

§

S3SubscriptionRequiredException(S3SubscriptionRequiredException)

The specified account does not have a subscription to Amazon S3.

§

SourceBundleDeletionException(SourceBundleDeletionException)

Unable to delete the Amazon S3 source bundle associated with the application version. The application version was deleted successfully.

§

TooManyApplicationVersionsException(TooManyApplicationVersionsException)

The specified account has reached its limit of application versions.

§

TooManyApplicationsException(TooManyApplicationsException)

The specified account has reached its limit of applications.

§

TooManyBucketsException(TooManyBucketsException)

The specified account has reached its limit of Amazon S3 buckets.

§

TooManyConfigurationTemplatesException(TooManyConfigurationTemplatesException)

The specified account has reached its limit of configuration templates.

§

TooManyEnvironmentsException(TooManyEnvironmentsException)

The specified account has reached its limit of environments.

§

TooManyPlatformsException(TooManyPlatformsException)

You have exceeded the maximum number of allowed platforms associated with the account.

§

TooManyTagsException(TooManyTagsException)

The number of tags in the resource would exceed the number of tags that each resource can have.

To calculate this, the operation considers both the number of tags the resource already has and the tags this operation would add if it succeeded.

§

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)>

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<AbortEnvironmentUpdateError> for Error

source§

fn from(err: AbortEnvironmentUpdateError) -> Self

Converts to this type from the input type.
source§

impl From<ApplyEnvironmentManagedActionError> for Error

source§

fn from(err: ApplyEnvironmentManagedActionError) -> Self

Converts to this type from the input type.
source§

impl From<AssociateEnvironmentOperationsRoleError> for Error

source§

fn from(err: AssociateEnvironmentOperationsRoleError) -> 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<CheckDNSAvailabilityError> for Error

source§

fn from(err: CheckDNSAvailabilityError) -> Self

Converts to this type from the input type.
source§

impl From<ComposeEnvironmentsError> for Error

source§

fn from(err: ComposeEnvironmentsError) -> Self

Converts to this type from the input type.
source§

impl From<CreateApplicationError> for Error

source§

fn from(err: CreateApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateApplicationVersionError> for Error

source§

fn from(err: CreateApplicationVersionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateConfigurationTemplateError> for Error

source§

fn from(err: CreateConfigurationTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<CreateEnvironmentError> for Error

source§

fn from(err: CreateEnvironmentError) -> Self

Converts to this type from the input type.
source§

impl From<CreatePlatformVersionError> for Error

source§

fn from(err: CreatePlatformVersionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateStorageLocationError> for Error

source§

fn from(err: CreateStorageLocationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationError> for Error

source§

fn from(err: DeleteApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationVersionError> for Error

source§

fn from(err: DeleteApplicationVersionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteConfigurationTemplateError> for Error

source§

fn from(err: DeleteConfigurationTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteEnvironmentConfigurationError> for Error

source§

fn from(err: DeleteEnvironmentConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeletePlatformVersionError> for Error

source§

fn from(err: DeletePlatformVersionError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAccountAttributesError> for Error

source§

fn from(err: DescribeAccountAttributesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeApplicationVersionsError> for Error

source§

fn from(err: DescribeApplicationVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeApplicationsError> for Error

source§

fn from(err: DescribeApplicationsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeConfigurationOptionsError> for Error

source§

fn from(err: DescribeConfigurationOptionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeConfigurationSettingsError> for Error

source§

fn from(err: DescribeConfigurationSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEnvironmentHealthError> for Error

source§

fn from(err: DescribeEnvironmentHealthError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEnvironmentManagedActionHistoryError> for Error

source§

fn from(err: DescribeEnvironmentManagedActionHistoryError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEnvironmentManagedActionsError> for Error

source§

fn from(err: DescribeEnvironmentManagedActionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEnvironmentResourcesError> for Error

source§

fn from(err: DescribeEnvironmentResourcesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEnvironmentsError> for Error

source§

fn from(err: DescribeEnvironmentsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeEventsError> for Error

source§

fn from(err: DescribeEventsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeInstancesHealthError> for Error

source§

fn from(err: DescribeInstancesHealthError) -> Self

Converts to this type from the input type.
source§

impl From<DescribePlatformVersionError> for Error

source§

fn from(err: DescribePlatformVersionError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateEnvironmentOperationsRoleError> for Error

source§

fn from(err: DisassociateEnvironmentOperationsRoleError) -> Self

Converts to this type from the input type.
source§

impl From<ListAvailableSolutionStacksError> for Error

source§

fn from(err: ListAvailableSolutionStacksError) -> Self

Converts to this type from the input type.
source§

impl From<ListPlatformBranchesError> for Error

source§

fn from(err: ListPlatformBranchesError) -> Self

Converts to this type from the input type.
source§

impl From<ListPlatformVersionsError> for Error

source§

fn from(err: ListPlatformVersionsError) -> 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<RebuildEnvironmentError> for Error

source§

fn from(err: RebuildEnvironmentError) -> Self

Converts to this type from the input type.
source§

impl From<RequestEnvironmentInfoError> for Error

source§

fn from(err: RequestEnvironmentInfoError) -> Self

Converts to this type from the input type.
source§

impl From<RestartAppServerError> for Error

source§

fn from(err: RestartAppServerError) -> Self

Converts to this type from the input type.
source§

impl From<RetrieveEnvironmentInfoError> for Error

source§

fn from(err: RetrieveEnvironmentInfoError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<ListPlatformVersionsError, 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<RebuildEnvironmentError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<SwapEnvironmentCNAMEsError> for Error

source§

fn from(err: SwapEnvironmentCNAMEsError) -> Self

Converts to this type from the input type.
source§

impl From<TerminateEnvironmentError> for Error

source§

fn from(err: TerminateEnvironmentError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateApplicationError> for Error

source§

fn from(err: UpdateApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateApplicationResourceLifecycleError> for Error

source§

fn from(err: UpdateApplicationResourceLifecycleError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateApplicationVersionError> for Error

source§

fn from(err: UpdateApplicationVersionError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateConfigurationTemplateError> for Error

source§

fn from(err: UpdateConfigurationTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateEnvironmentError> for Error

source§

fn from(err: UpdateEnvironmentError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateTagsForResourceError> for Error

source§

fn from(err: UpdateTagsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ValidateConfigurationSettingsError> for Error

source§

fn from(err: ValidateConfigurationSettingsError) -> Self

Converts to this type from the input type.
source§

impl<O, E> From<WaiterError<O, E>> for Error
where O: Debug + Send + Sync + 'static, E: Error + Send + Sync + 'static,

source§

fn from(err: WaiterError<O, E>) -> 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> Same for T

§

type Output = T

Should always be Self
source§

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

source§

default 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>,

§

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>,

§

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