Enum aws_sdk_emr::Error

source ·
#[non_exhaustive]
pub enum Error { InternalServerError(InternalServerError), InternalServerException(InternalServerException), InvalidRequestException(InvalidRequestException), 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.
§

InternalServerError(InternalServerError)

Indicates that an error occurred while processing the request and that the request was not completed.

§

InternalServerException(InternalServerException)

This exception occurs when there is an internal failure in the Amazon EMR service.

§

InvalidRequestException(InvalidRequestException)

This exception occurs when there is something wrong with user input.

§

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

source§

fn from(err: AddInstanceFleetError) -> Self

Converts to this type from the input type.
source§

impl From<AddInstanceGroupsError> for Error

source§

fn from(err: AddInstanceGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<AddJobFlowStepsError> for Error

source§

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

source§

fn from(err: CancelStepsError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSecurityConfigurationError> for Error

source§

fn from(err: CreateSecurityConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateStudioError> for Error

source§

fn from(err: CreateStudioError) -> Self

Converts to this type from the input type.
source§

impl From<CreateStudioSessionMappingError> for Error

source§

fn from(err: CreateStudioSessionMappingError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSecurityConfigurationError> for Error

source§

fn from(err: DeleteSecurityConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteStudioError> for Error

source§

fn from(err: DeleteStudioError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteStudioSessionMappingError> for Error

source§

fn from(err: DeleteStudioSessionMappingError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeClusterError> for Error

source§

fn from(err: DescribeClusterError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeJobFlowsError> for Error

source§

fn from(err: DescribeJobFlowsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeNotebookExecutionError> for Error

source§

fn from(err: DescribeNotebookExecutionError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeReleaseLabelError> for Error

source§

fn from(err: DescribeReleaseLabelError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeSecurityConfigurationError> for Error

source§

fn from(err: DescribeSecurityConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeStepError> for Error

source§

fn from(err: DescribeStepError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeStudioError> for Error

source§

fn from(err: DescribeStudioError) -> Self

Converts to this type from the input type.
source§

impl From<GetAutoTerminationPolicyError> for Error

source§

fn from(err: GetAutoTerminationPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetBlockPublicAccessConfigurationError> for Error

source§

fn from(err: GetBlockPublicAccessConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetClusterSessionCredentialsError> for Error

source§

fn from(err: GetClusterSessionCredentialsError) -> Self

Converts to this type from the input type.
source§

impl From<GetManagedScalingPolicyError> for Error

source§

fn from(err: GetManagedScalingPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetStudioSessionMappingError> for Error

source§

fn from(err: GetStudioSessionMappingError) -> Self

Converts to this type from the input type.
source§

impl From<ListBootstrapActionsError> for Error

source§

fn from(err: ListBootstrapActionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListClustersError> for Error

source§

fn from(err: ListClustersError) -> Self

Converts to this type from the input type.
source§

impl From<ListInstanceFleetsError> for Error

source§

fn from(err: ListInstanceFleetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListInstanceGroupsError> for Error

source§

fn from(err: ListInstanceGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListInstancesError> for Error

source§

fn from(err: ListInstancesError) -> Self

Converts to this type from the input type.
source§

impl From<ListNotebookExecutionsError> for Error

source§

fn from(err: ListNotebookExecutionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListReleaseLabelsError> for Error

source§

fn from(err: ListReleaseLabelsError) -> Self

Converts to this type from the input type.
source§

impl From<ListSecurityConfigurationsError> for Error

source§

fn from(err: ListSecurityConfigurationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListStepsError> for Error

source§

fn from(err: ListStepsError) -> Self

Converts to this type from the input type.
source§

impl From<ListStudioSessionMappingsError> for Error

source§

fn from(err: ListStudioSessionMappingsError) -> Self

Converts to this type from the input type.
source§

impl From<ListStudiosError> for Error

source§

fn from(err: ListStudiosError) -> Self

Converts to this type from the input type.
source§

impl From<ListSupportedInstanceTypesError> for Error

source§

fn from(err: ListSupportedInstanceTypesError) -> Self

Converts to this type from the input type.
source§

impl From<ModifyClusterError> for Error

source§

fn from(err: ModifyClusterError) -> Self

Converts to this type from the input type.
source§

impl From<ModifyInstanceFleetError> for Error

source§

fn from(err: ModifyInstanceFleetError) -> Self

Converts to this type from the input type.
source§

impl From<ModifyInstanceGroupsError> for Error

source§

fn from(err: ModifyInstanceGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<PutAutoScalingPolicyError> for Error

source§

fn from(err: PutAutoScalingPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<PutAutoTerminationPolicyError> for Error

source§

fn from(err: PutAutoTerminationPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<PutBlockPublicAccessConfigurationError> for Error

source§

fn from(err: PutBlockPublicAccessConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<PutManagedScalingPolicyError> for Error

source§

fn from(err: PutManagedScalingPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveAutoScalingPolicyError> for Error

source§

fn from(err: RemoveAutoScalingPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveAutoTerminationPolicyError> for Error

source§

fn from(err: RemoveAutoTerminationPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveManagedScalingPolicyError> for Error

source§

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

source§

fn from(err: RunJobFlowError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<AddTagsError, R>> for Error
where 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<CancelStepsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<RemoveTagsError, R>> for Error
where 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<RunJobFlowError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<SetTerminationProtectionError> for Error

source§

fn from(err: SetTerminationProtectionError) -> Self

Converts to this type from the input type.
source§

impl From<SetVisibleToAllUsersError> for Error

source§

fn from(err: SetVisibleToAllUsersError) -> Self

Converts to this type from the input type.
source§

impl From<StartNotebookExecutionError> for Error

source§

fn from(err: StartNotebookExecutionError) -> Self

Converts to this type from the input type.
source§

impl From<StopNotebookExecutionError> for Error

source§

fn from(err: StopNotebookExecutionError) -> Self

Converts to this type from the input type.
source§

impl From<TerminateJobFlowsError> for Error

source§

fn from(err: TerminateJobFlowsError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateStudioError> for Error

source§

fn from(err: UpdateStudioError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateStudioSessionMappingError> for Error

source§

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