#[non_exhaustive]
pub enum Error {
Show 18 variants AccessDeniedException(AccessDeniedException), AuthorizationException(AuthorizationException), ConflictException(ConflictException), EntitlementNotAllowedException(EntitlementNotAllowedException), FailedDependencyException(FailedDependencyException), FilterLimitExceededException(FilterLimitExceededException), InvalidParameterValueException(InvalidParameterValueException), InvalidResourceStateException(InvalidResourceStateException), LicenseUsageException(LicenseUsageException), NoEntitlementsAllowedException(NoEntitlementsAllowedException), RateLimitExceededException(RateLimitExceededException), RedirectException(RedirectException), ResourceLimitExceededException(ResourceLimitExceededException), ResourceNotFoundException(ResourceNotFoundException), ServerInternalException(ServerInternalException), UnsupportedDigitalSignatureMethodException(UnsupportedDigitalSignatureMethodException), 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)

Access to resource denied.

§

AuthorizationException(AuthorizationException)

The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.

§

ConflictException(ConflictException)

There was a conflict processing the request. Try your request again.

§

EntitlementNotAllowedException(EntitlementNotAllowedException)

The entitlement is not allowed.

§

FailedDependencyException(FailedDependencyException)

A dependency required to run the API is missing.

§

FilterLimitExceededException(FilterLimitExceededException)

The request uses too many filters or too many filter values.

§

InvalidParameterValueException(InvalidParameterValueException)

One or more parameter values are not valid.

§

InvalidResourceStateException(InvalidResourceStateException)

License Manager cannot allocate a license to a resource because of its state.

For example, you cannot allocate a license to an instance in the process of shutting down.

§

LicenseUsageException(LicenseUsageException)

You do not have enough licenses available to support a new resource launch.

§

NoEntitlementsAllowedException(NoEntitlementsAllowedException)

There are no entitlements found for this license, or the entitlement maximum count is reached.

§

RateLimitExceededException(RateLimitExceededException)

Too many requests have been submitted. Try again after a brief wait.

§

RedirectException(RedirectException)

This is not the correct Region for the resource. Try again.

§

ResourceLimitExceededException(ResourceLimitExceededException)

Your resource limits have been exceeded.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource cannot be found.

§

ServerInternalException(ServerInternalException)

The server experienced an internal error. Try again.

§

UnsupportedDigitalSignatureMethodException(UnsupportedDigitalSignatureMethodException)

The digital signature method is unsupported. Try your request again.

§

ValidationException(ValidationException)

The provided input is not valid. Try your request again.

§

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

source§

fn from(err: AcceptGrantError) -> Self

Converts to this type from the input type.
source§

impl From<CheckInLicenseError> for Error

source§

fn from(err: CheckInLicenseError) -> Self

Converts to this type from the input type.
source§

impl From<CheckoutBorrowLicenseError> for Error

source§

fn from(err: CheckoutBorrowLicenseError) -> Self

Converts to this type from the input type.
source§

impl From<CheckoutLicenseError> for Error

source§

fn from(err: CheckoutLicenseError) -> Self

Converts to this type from the input type.
source§

impl From<CreateGrantError> for Error

source§

fn from(err: CreateGrantError) -> Self

Converts to this type from the input type.
source§

impl From<CreateGrantVersionError> for Error

source§

fn from(err: CreateGrantVersionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLicenseConfigurationError> for Error

source§

fn from(err: CreateLicenseConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLicenseConversionTaskForResourceError> for Error

source§

fn from(err: CreateLicenseConversionTaskForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLicenseError> for Error

source§

fn from(err: CreateLicenseError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLicenseManagerReportGeneratorError> for Error

source§

fn from(err: CreateLicenseManagerReportGeneratorError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLicenseVersionError> for Error

source§

fn from(err: CreateLicenseVersionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateTokenError> for Error

source§

fn from(err: CreateTokenError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteGrantError> for Error

source§

fn from(err: DeleteGrantError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLicenseConfigurationError> for Error

source§

fn from(err: DeleteLicenseConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLicenseError> for Error

source§

fn from(err: DeleteLicenseError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLicenseManagerReportGeneratorError> for Error

source§

fn from(err: DeleteLicenseManagerReportGeneratorError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteTokenError> for Error

source§

fn from(err: DeleteTokenError) -> Self

Converts to this type from the input type.
source§

impl From<ExtendLicenseConsumptionError> for Error

source§

fn from(err: ExtendLicenseConsumptionError) -> Self

Converts to this type from the input type.
source§

impl From<GetAccessTokenError> for Error

source§

fn from(err: GetAccessTokenError) -> Self

Converts to this type from the input type.
source§

impl From<GetGrantError> for Error

source§

fn from(err: GetGrantError) -> Self

Converts to this type from the input type.
source§

impl From<GetLicenseConfigurationError> for Error

source§

fn from(err: GetLicenseConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetLicenseConversionTaskError> for Error

source§

fn from(err: GetLicenseConversionTaskError) -> Self

Converts to this type from the input type.
source§

impl From<GetLicenseError> for Error

source§

fn from(err: GetLicenseError) -> Self

Converts to this type from the input type.
source§

impl From<GetLicenseManagerReportGeneratorError> for Error

source§

fn from(err: GetLicenseManagerReportGeneratorError) -> Self

Converts to this type from the input type.
source§

impl From<GetLicenseUsageError> for Error

source§

fn from(err: GetLicenseUsageError) -> Self

Converts to this type from the input type.
source§

impl From<GetServiceSettingsError> for Error

source§

fn from(err: GetServiceSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<ListAssociationsForLicenseConfigurationError> for Error

source§

fn from(err: ListAssociationsForLicenseConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<ListDistributedGrantsError> for Error

source§

fn from(err: ListDistributedGrantsError) -> Self

Converts to this type from the input type.
source§

impl From<ListFailuresForLicenseConfigurationOperationsError> for Error

source§

fn from(err: ListFailuresForLicenseConfigurationOperationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLicenseConfigurationsError> for Error

source§

fn from(err: ListLicenseConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLicenseConversionTasksError> for Error

source§

fn from(err: ListLicenseConversionTasksError) -> Self

Converts to this type from the input type.
source§

impl From<ListLicenseManagerReportGeneratorsError> for Error

source§

fn from(err: ListLicenseManagerReportGeneratorsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLicenseSpecificationsForResourceError> for Error

source§

fn from(err: ListLicenseSpecificationsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<ListLicenseVersionsError> for Error

source§

fn from(err: ListLicenseVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLicensesError> for Error

source§

fn from(err: ListLicensesError) -> Self

Converts to this type from the input type.
source§

impl From<ListReceivedGrantsError> for Error

source§

fn from(err: ListReceivedGrantsError) -> Self

Converts to this type from the input type.
source§

impl From<ListReceivedGrantsForOrganizationError> for Error

source§

fn from(err: ListReceivedGrantsForOrganizationError) -> Self

Converts to this type from the input type.
source§

impl From<ListReceivedLicensesError> for Error

source§

fn from(err: ListReceivedLicensesError) -> Self

Converts to this type from the input type.
source§

impl From<ListReceivedLicensesForOrganizationError> for Error

source§

fn from(err: ListReceivedLicensesForOrganizationError) -> Self

Converts to this type from the input type.
source§

impl From<ListResourceInventoryError> for Error

source§

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

source§

fn from(err: ListTokensError) -> Self

Converts to this type from the input type.
source§

impl From<ListUsageForLicenseConfigurationError> for Error

source§

fn from(err: ListUsageForLicenseConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<RejectGrantError> for Error

source§

fn from(err: RejectGrantError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere 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<ListTokensError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Errorwhere 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<UntagResourceError, R>> for Errorwhere 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<UpdateLicenseConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<UpdateServiceSettingsError, R>) -> 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<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateLicenseConfigurationError> for Error

source§

fn from(err: UpdateLicenseConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateLicenseManagerReportGeneratorError> for Error

source§

fn from(err: UpdateLicenseManagerReportGeneratorError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateLicenseSpecificationsForResourceError> for Error

source§

fn from(err: UpdateLicenseSpecificationsForResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateServiceSettingsError> for Error

source§

fn from(err: UpdateServiceSettingsError) -> 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