#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), BaseException(BaseException), ConflictException(ConflictException), DisabledOperationException(DisabledOperationException), InternalException(InternalException), InvalidPaginationTokenException(InvalidPaginationTokenException), InvalidTypeException(InvalidTypeException), LimitExceededException(LimitExceededException), ResourceAlreadyExistsException(ResourceAlreadyExistsException), ResourceNotFoundException(ResourceNotFoundException), ValidationException(ValidationException), 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.
§

AccessDeniedException(AccessDeniedException)

An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.

§

BaseException(BaseException)

An error occurred while processing the request.

§

ConflictException(ConflictException)

An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.

§

DisabledOperationException(DisabledOperationException)

An error occured because the client wanted to access a not supported operation. Gives http status code of 409.

§

InternalException(InternalException)

The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.

§

InvalidPaginationTokenException(InvalidPaginationTokenException)

The request processing has failed because of invalid pagination token provided by customer. Returns an HTTP status code of 400.

§

InvalidTypeException(InvalidTypeException)

An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status code of 409.

§

LimitExceededException(LimitExceededException)

An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.

§

ResourceAlreadyExistsException(ResourceAlreadyExistsException)

An exception for creating a resource that already exists. Gives http status code of 400.

§

ResourceNotFoundException(ResourceNotFoundException)

An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.

§

ValidationException(ValidationException)

An exception for missing / invalid input fields. Gives http status code of 400.

§

Unhandled(Unhandled)

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

source§

fn from(err: AcceptInboundCrossClusterSearchConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<AddTagsError> for Error

source§

fn from(err: AddTagsError) -> Self

Converts to this type from the input type.
source§

impl From<AssociatePackageError> for Error

source§

fn from(err: AssociatePackageError) -> Self

Converts to this type from the input type.
source§

impl From<AuthorizeVpcEndpointAccessError> for Error

source§

fn from(err: AuthorizeVpcEndpointAccessError) -> Self

Converts to this type from the input type.
source§

impl From<CancelElasticsearchServiceSoftwareUpdateError> for Error

source§

fn from(err: CancelElasticsearchServiceSoftwareUpdateError) -> Self

Converts to this type from the input type.
source§

impl From<CreateElasticsearchDomainError> for Error

source§

fn from(err: CreateElasticsearchDomainError) -> Self

Converts to this type from the input type.
source§

impl From<CreateOutboundCrossClusterSearchConnectionError> for Error

source§

fn from(err: CreateOutboundCrossClusterSearchConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<CreatePackageError> for Error

source§

fn from(err: CreatePackageError) -> Self

Converts to this type from the input type.
source§

impl From<CreateVpcEndpointError> for Error

source§

fn from(err: CreateVpcEndpointError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteElasticsearchDomainError> for Error

source§

fn from(err: DeleteElasticsearchDomainError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteElasticsearchServiceRoleError> for Error

source§

fn from(err: DeleteElasticsearchServiceRoleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteInboundCrossClusterSearchConnectionError> for Error

source§

fn from(err: DeleteInboundCrossClusterSearchConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteOutboundCrossClusterSearchConnectionError> for Error

source§

fn from(err: DeleteOutboundCrossClusterSearchConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<DeletePackageError> for Error

source§

fn from(err: DeletePackageError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteVpcEndpointError> for Error

source§

fn from(err: DeleteVpcEndpointError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDomainAutoTunesError> for Error

source§

fn from(err: DescribeDomainAutoTunesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDomainChangeProgressError> for Error

source§

fn from(err: DescribeDomainChangeProgressError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeElasticsearchDomainConfigError> for Error

source§

fn from(err: DescribeElasticsearchDomainConfigError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeElasticsearchDomainError> for Error

source§

fn from(err: DescribeElasticsearchDomainError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeElasticsearchDomainsError> for Error

source§

fn from(err: DescribeElasticsearchDomainsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeElasticsearchInstanceTypeLimitsError> for Error

source§

fn from(err: DescribeElasticsearchInstanceTypeLimitsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeInboundCrossClusterSearchConnectionsError> for Error

source§

fn from(err: DescribeInboundCrossClusterSearchConnectionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeOutboundCrossClusterSearchConnectionsError> for Error

source§

fn from(err: DescribeOutboundCrossClusterSearchConnectionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribePackagesError> for Error

source§

fn from(err: DescribePackagesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeReservedElasticsearchInstanceOfferingsError> for Error

source§

fn from(err: DescribeReservedElasticsearchInstanceOfferingsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeReservedElasticsearchInstancesError> for Error

source§

fn from(err: DescribeReservedElasticsearchInstancesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeVpcEndpointsError> for Error

source§

fn from(err: DescribeVpcEndpointsError) -> Self

Converts to this type from the input type.
source§

impl From<DissociatePackageError> for Error

source§

fn from(err: DissociatePackageError) -> Self

Converts to this type from the input type.
source§

impl From<GetCompatibleElasticsearchVersionsError> for Error

source§

fn from(err: GetCompatibleElasticsearchVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<GetPackageVersionHistoryError> for Error

source§

fn from(err: GetPackageVersionHistoryError) -> Self

Converts to this type from the input type.
source§

impl From<GetUpgradeHistoryError> for Error

source§

fn from(err: GetUpgradeHistoryError) -> Self

Converts to this type from the input type.
source§

impl From<GetUpgradeStatusError> for Error

source§

fn from(err: GetUpgradeStatusError) -> Self

Converts to this type from the input type.
source§

impl From<ListDomainNamesError> for Error

source§

fn from(err: ListDomainNamesError) -> Self

Converts to this type from the input type.
source§

impl From<ListDomainsForPackageError> for Error

source§

fn from(err: ListDomainsForPackageError) -> Self

Converts to this type from the input type.
source§

impl From<ListElasticsearchInstanceTypesError> for Error

source§

fn from(err: ListElasticsearchInstanceTypesError) -> Self

Converts to this type from the input type.
source§

impl From<ListElasticsearchVersionsError> for Error

source§

fn from(err: ListElasticsearchVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListPackagesForDomainError> for Error

source§

fn from(err: ListPackagesForDomainError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsError> for Error

source§

fn from(err: ListTagsError) -> Self

Converts to this type from the input type.
source§

impl From<ListVpcEndpointAccessError> for Error

source§

fn from(err: ListVpcEndpointAccessError) -> Self

Converts to this type from the input type.
source§

impl From<ListVpcEndpointsError> for Error

source§

fn from(err: ListVpcEndpointsError) -> Self

Converts to this type from the input type.
source§

impl From<ListVpcEndpointsForDomainError> for Error

source§

fn from(err: ListVpcEndpointsForDomainError) -> Self

Converts to this type from the input type.
source§

impl From<PurchaseReservedElasticsearchInstanceOfferingError> for Error

source§

fn from(err: PurchaseReservedElasticsearchInstanceOfferingError) -> Self

Converts to this type from the input type.
source§

impl From<RejectInboundCrossClusterSearchConnectionError> for Error

source§

fn from(err: RejectInboundCrossClusterSearchConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveTagsError> for Error

source§

fn from(err: RemoveTagsError) -> Self

Converts to this type from the input type.
source§

impl From<RevokeVpcEndpointAccessError> for Error

source§

fn from(err: RevokeVpcEndpointAccessError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AcceptInboundCrossClusterSearchConnectionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<AddTagsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssociatePackageError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<AuthorizeVpcEndpointAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CancelElasticsearchServiceSoftwareUpdateError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateElasticsearchDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateOutboundCrossClusterSearchConnectionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreatePackageError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateVpcEndpointError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteElasticsearchDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteElasticsearchServiceRoleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteInboundCrossClusterSearchConnectionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteOutboundCrossClusterSearchConnectionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeletePackageError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteVpcEndpointError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeDomainAutoTunesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeDomainChangeProgressError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeElasticsearchDomainConfigError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeElasticsearchDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeElasticsearchDomainsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeElasticsearchInstanceTypeLimitsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeInboundCrossClusterSearchConnectionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeOutboundCrossClusterSearchConnectionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribePackagesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeReservedElasticsearchInstanceOfferingsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeReservedElasticsearchInstancesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeVpcEndpointsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DissociatePackageError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetCompatibleElasticsearchVersionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetPackageVersionHistoryError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetUpgradeHistoryError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetUpgradeStatusError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListDomainNamesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListDomainsForPackageError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListElasticsearchInstanceTypesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListElasticsearchVersionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListPackagesForDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListVpcEndpointAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListVpcEndpointsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListVpcEndpointsForDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<PurchaseReservedElasticsearchInstanceOfferingError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<RejectInboundCrossClusterSearchConnectionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<RemoveTagsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<RevokeVpcEndpointAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartElasticsearchServiceSoftwareUpdateError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateElasticsearchDomainConfigError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdatePackageError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateVpcEndpointError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpgradeElasticsearchDomainError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl From<StartElasticsearchServiceSoftwareUpdateError> for Error

source§

fn from(err: StartElasticsearchServiceSoftwareUpdateError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateElasticsearchDomainConfigError> for Error

source§

fn from(err: UpdateElasticsearchDomainConfigError) -> Self

Converts to this type from the input type.
source§

impl From<UpdatePackageError> for Error

source§

fn from(err: UpdatePackageError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateVpcEndpointError> for Error

source§

fn from(err: UpdateVpcEndpointError) -> Self

Converts to this type from the input type.
source§

impl From<UpgradeElasticsearchDomainError> for Error

source§

fn from(err: UpgradeElasticsearchDomainError) -> Self

Converts to this type from the input type.
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 !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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere 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 Twhere 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 Twhere 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