Enum aws_sdk_drs::Error

source ·
#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), ConflictException(ConflictException), InternalServerException(InternalServerException), ResourceNotFoundException(ResourceNotFoundException), ServiceQuotaExceededException(ServiceQuotaExceededException), ThrottlingException(ThrottlingException), UninitializedAccountException(UninitializedAccountException), 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)

You do not have sufficient access to perform this action.

§

ConflictException(ConflictException)

The request could not be completed due to a conflict with the current state of the target resource.

§

InternalServerException(InternalServerException)

The request processing has failed because of an unknown error, exception or failure.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource for this operation was not found.

§

ServiceQuotaExceededException(ServiceQuotaExceededException)

The request could not be completed because its exceeded the service quota.

§

ThrottlingException(ThrottlingException)

The request was denied due to request throttling.

§

UninitializedAccountException(UninitializedAccountException)

The account performing the request has not been initialized.

§

ValidationException(ValidationException)

The input fails to satisfy the constraints specified by the AWS service.

§

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

source§

fn from(err: AssociateSourceNetworkStackError) -> Self

Converts to this type from the input type.
source§

impl From<CreateExtendedSourceServerError> for Error

source§

fn from(err: CreateExtendedSourceServerError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLaunchConfigurationTemplateError> for Error

source§

fn from(err: CreateLaunchConfigurationTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<CreateReplicationConfigurationTemplateError> for Error

source§

fn from(err: CreateReplicationConfigurationTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSourceNetworkError> for Error

source§

fn from(err: CreateSourceNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteJobError> for Error

source§

fn from(err: DeleteJobError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLaunchActionError> for Error

source§

fn from(err: DeleteLaunchActionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLaunchConfigurationTemplateError> for Error

source§

fn from(err: DeleteLaunchConfigurationTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRecoveryInstanceError> for Error

source§

fn from(err: DeleteRecoveryInstanceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteReplicationConfigurationTemplateError> for Error

source§

fn from(err: DeleteReplicationConfigurationTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSourceNetworkError> for Error

source§

fn from(err: DeleteSourceNetworkError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSourceServerError> for Error

source§

fn from(err: DeleteSourceServerError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeJobLogItemsError> for Error

source§

fn from(err: DescribeJobLogItemsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeJobsError> for Error

source§

fn from(err: DescribeJobsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeLaunchConfigurationTemplatesError> for Error

source§

fn from(err: DescribeLaunchConfigurationTemplatesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRecoveryInstancesError> for Error

source§

fn from(err: DescribeRecoveryInstancesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRecoverySnapshotsError> for Error

source§

fn from(err: DescribeRecoverySnapshotsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeReplicationConfigurationTemplatesError> for Error

source§

fn from(err: DescribeReplicationConfigurationTemplatesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeSourceNetworksError> for Error

source§

fn from(err: DescribeSourceNetworksError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeSourceServersError> for Error

source§

fn from(err: DescribeSourceServersError) -> Self

Converts to this type from the input type.
source§

impl From<DisconnectRecoveryInstanceError> for Error

source§

fn from(err: DisconnectRecoveryInstanceError) -> Self

Converts to this type from the input type.
source§

impl From<DisconnectSourceServerError> for Error

source§

fn from(err: DisconnectSourceServerError) -> Self

Converts to this type from the input type.
source§

impl From<ExportSourceNetworkCfnTemplateError> for Error

source§

fn from(err: ExportSourceNetworkCfnTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<GetFailbackReplicationConfigurationError> for Error

source§

fn from(err: GetFailbackReplicationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetLaunchConfigurationError> for Error

source§

fn from(err: GetLaunchConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetReplicationConfigurationError> for Error

source§

fn from(err: GetReplicationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<InitializeServiceError> for Error

source§

fn from(err: InitializeServiceError) -> Self

Converts to this type from the input type.
source§

impl From<ListExtensibleSourceServersError> for Error

source§

fn from(err: ListExtensibleSourceServersError) -> Self

Converts to this type from the input type.
source§

impl From<ListLaunchActionsError> for Error

source§

fn from(err: ListLaunchActionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListStagingAccountsError> for Error

source§

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

source§

fn from(err: PutLaunchActionError) -> Self

Converts to this type from the input type.
source§

impl From<RetryDataReplicationError> for Error

source§

fn from(err: RetryDataReplicationError) -> Self

Converts to this type from the input type.
source§

impl From<ReverseReplicationError> for Error

source§

fn from(err: ReverseReplicationError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<ListStagingAccountsError, 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<PutLaunchActionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<StopSourceNetworkReplicationError, 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<TerminateRecoveryInstancesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<TerminateRecoveryInstancesError, 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<UpdateFailbackReplicationConfigurationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<StartFailbackLaunchError> for Error

source§

fn from(err: StartFailbackLaunchError) -> Self

Converts to this type from the input type.
source§

impl From<StartRecoveryError> for Error

source§

fn from(err: StartRecoveryError) -> Self

Converts to this type from the input type.
source§

impl From<StartReplicationError> for Error

source§

fn from(err: StartReplicationError) -> Self

Converts to this type from the input type.
source§

impl From<StartSourceNetworkRecoveryError> for Error

source§

fn from(err: StartSourceNetworkRecoveryError) -> Self

Converts to this type from the input type.
source§

impl From<StartSourceNetworkReplicationError> for Error

source§

fn from(err: StartSourceNetworkReplicationError) -> Self

Converts to this type from the input type.
source§

impl From<StopFailbackError> for Error

source§

fn from(err: StopFailbackError) -> Self

Converts to this type from the input type.
source§

impl From<StopReplicationError> for Error

source§

fn from(err: StopReplicationError) -> Self

Converts to this type from the input type.
source§

impl From<StopSourceNetworkReplicationError> for Error

source§

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

source§

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

source§

fn from(err: UpdateFailbackReplicationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateLaunchConfigurationError> for Error

source§

fn from(err: UpdateLaunchConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateLaunchConfigurationTemplateError> for Error

source§

fn from(err: UpdateLaunchConfigurationTemplateError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateReplicationConfigurationError> for Error

source§

fn from(err: UpdateReplicationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateReplicationConfigurationTemplateError> for Error

source§

fn from(err: UpdateReplicationConfigurationTemplateError) -> 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<Unshared, Shared> IntoShared<Shared> for Unsharedwhere 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 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