Enum aws_sdk_sfn::Error
source · #[non_exhaustive]pub enum Error {
Show 29 variants
ActivityDoesNotExist(ActivityDoesNotExist),
ActivityLimitExceeded(ActivityLimitExceeded),
ActivityWorkerLimitExceeded(ActivityWorkerLimitExceeded),
ConflictException(ConflictException),
ExecutionAlreadyExists(ExecutionAlreadyExists),
ExecutionDoesNotExist(ExecutionDoesNotExist),
ExecutionLimitExceeded(ExecutionLimitExceeded),
ExecutionNotRedrivable(ExecutionNotRedrivable),
InvalidArn(InvalidArn),
InvalidDefinition(InvalidDefinition),
InvalidExecutionInput(InvalidExecutionInput),
InvalidLoggingConfiguration(InvalidLoggingConfiguration),
InvalidName(InvalidName),
InvalidOutput(InvalidOutput),
InvalidToken(InvalidToken),
InvalidTracingConfiguration(InvalidTracingConfiguration),
MissingRequiredParameter(MissingRequiredParameter),
ResourceNotFound(ResourceNotFound),
ServiceQuotaExceededException(ServiceQuotaExceededException),
StateMachineAlreadyExists(StateMachineAlreadyExists),
StateMachineDeleting(StateMachineDeleting),
StateMachineDoesNotExist(StateMachineDoesNotExist),
StateMachineLimitExceeded(StateMachineLimitExceeded),
StateMachineTypeNotSupported(StateMachineTypeNotSupported),
TaskDoesNotExist(TaskDoesNotExist),
TaskTimedOut(TaskTimedOut),
TooManyTags(TooManyTags),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ActivityDoesNotExist(ActivityDoesNotExist)
The specified activity does not exist.
ActivityLimitExceeded(ActivityLimitExceeded)
The maximum number of activities has been reached. Existing activities must be deleted before a new activity can be created.
ActivityWorkerLimitExceeded(ActivityWorkerLimitExceeded)
The maximum number of workers concurrently polling for activity tasks has been reached.
ConflictException(ConflictException)
Updating or deleting a resource can cause an inconsistent state. This error occurs when there're concurrent requests for DeleteStateMachineVersion
, PublishStateMachineVersion
, or UpdateStateMachine
with the publish
parameter set to true
.
HTTP Status Code: 409
ExecutionAlreadyExists(ExecutionAlreadyExists)
The execution has the same name
as another execution (but a different input
).
Executions with the same name
and input
are considered idempotent.
ExecutionDoesNotExist(ExecutionDoesNotExist)
The specified execution does not exist.
ExecutionLimitExceeded(ExecutionLimitExceeded)
The maximum number of running executions has been reached. Running executions must end or be stopped before a new execution can be started.
ExecutionNotRedrivable(ExecutionNotRedrivable)
The execution Amazon Resource Name (ARN) that you specified for executionArn
cannot be redriven.
InvalidArn(InvalidArn)
The provided Amazon Resource Name (ARN) is not valid.
InvalidDefinition(InvalidDefinition)
The provided Amazon States Language definition is not valid.
InvalidExecutionInput(InvalidExecutionInput)
The provided JSON input data is not valid.
InvalidLoggingConfiguration(InvalidLoggingConfiguration)
InvalidName(InvalidName)
The provided name is not valid.
InvalidOutput(InvalidOutput)
The provided JSON output data is not valid.
InvalidToken(InvalidToken)
The provided token is not valid.
InvalidTracingConfiguration(InvalidTracingConfiguration)
Your tracingConfiguration
key does not match, or enabled
has not been set to true
or false
.
MissingRequiredParameter(MissingRequiredParameter)
Request is missing a required parameter. This error occurs if both definition
and roleArn
are not specified.
ResourceNotFound(ResourceNotFound)
Could not find the referenced resource.
ServiceQuotaExceededException(ServiceQuotaExceededException)
The request would cause a service quota to be exceeded.
HTTP Status Code: 402
StateMachineAlreadyExists(StateMachineAlreadyExists)
A state machine with the same name but a different definition or role ARN already exists.
StateMachineDeleting(StateMachineDeleting)
The specified state machine is being deleted.
StateMachineDoesNotExist(StateMachineDoesNotExist)
The specified state machine does not exist.
StateMachineLimitExceeded(StateMachineLimitExceeded)
The maximum number of state machines has been reached. Existing state machines must be deleted before a new state machine can be created.
StateMachineTypeNotSupported(StateMachineTypeNotSupported)
TaskDoesNotExist(TaskDoesNotExist)
The activity does not exist.
TaskTimedOut(TaskTimedOut)
The task token has either expired or the task associated with the token has already been closed.
TooManyTags(TooManyTags)
You've exceeded the number of tags allowed for a resource. See the Limits Topic in the Step Functions Developer Guide.
ValidationException(ValidationException)
The input does not satisfy the constraints specified by an Amazon Web Services service.
Unhandled(Unhandled)
Unhandled
directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code()
:
err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ }
See ProvideErrorMetadata
for what information is available for the error.An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<BuildError> for Error
impl From<BuildError> for Error
source§fn from(value: BuildError) -> Self
fn from(value: BuildError) -> Self
source§impl From<CreateActivityError> for Error
impl From<CreateActivityError> for Error
source§fn from(err: CreateActivityError) -> Self
fn from(err: CreateActivityError) -> Self
source§impl From<CreateStateMachineAliasError> for Error
impl From<CreateStateMachineAliasError> for Error
source§fn from(err: CreateStateMachineAliasError) -> Self
fn from(err: CreateStateMachineAliasError) -> Self
source§impl From<CreateStateMachineError> for Error
impl From<CreateStateMachineError> for Error
source§fn from(err: CreateStateMachineError) -> Self
fn from(err: CreateStateMachineError) -> Self
source§impl From<DeleteActivityError> for Error
impl From<DeleteActivityError> for Error
source§fn from(err: DeleteActivityError) -> Self
fn from(err: DeleteActivityError) -> Self
source§impl From<DeleteStateMachineAliasError> for Error
impl From<DeleteStateMachineAliasError> for Error
source§fn from(err: DeleteStateMachineAliasError) -> Self
fn from(err: DeleteStateMachineAliasError) -> Self
source§impl From<DeleteStateMachineError> for Error
impl From<DeleteStateMachineError> for Error
source§fn from(err: DeleteStateMachineError) -> Self
fn from(err: DeleteStateMachineError) -> Self
source§impl From<DeleteStateMachineVersionError> for Error
impl From<DeleteStateMachineVersionError> for Error
source§fn from(err: DeleteStateMachineVersionError) -> Self
fn from(err: DeleteStateMachineVersionError) -> Self
source§impl From<DescribeActivityError> for Error
impl From<DescribeActivityError> for Error
source§fn from(err: DescribeActivityError) -> Self
fn from(err: DescribeActivityError) -> Self
source§impl From<DescribeExecutionError> for Error
impl From<DescribeExecutionError> for Error
source§fn from(err: DescribeExecutionError) -> Self
fn from(err: DescribeExecutionError) -> Self
source§impl From<DescribeMapRunError> for Error
impl From<DescribeMapRunError> for Error
source§fn from(err: DescribeMapRunError) -> Self
fn from(err: DescribeMapRunError) -> Self
source§impl From<DescribeStateMachineAliasError> for Error
impl From<DescribeStateMachineAliasError> for Error
source§fn from(err: DescribeStateMachineAliasError) -> Self
fn from(err: DescribeStateMachineAliasError) -> Self
source§impl From<DescribeStateMachineError> for Error
impl From<DescribeStateMachineError> for Error
source§fn from(err: DescribeStateMachineError) -> Self
fn from(err: DescribeStateMachineError) -> Self
source§impl From<DescribeStateMachineForExecutionError> for Error
impl From<DescribeStateMachineForExecutionError> for Error
source§fn from(err: DescribeStateMachineForExecutionError) -> Self
fn from(err: DescribeStateMachineForExecutionError) -> Self
source§impl From<GetActivityTaskError> for Error
impl From<GetActivityTaskError> for Error
source§fn from(err: GetActivityTaskError) -> Self
fn from(err: GetActivityTaskError) -> Self
source§impl From<GetExecutionHistoryError> for Error
impl From<GetExecutionHistoryError> for Error
source§fn from(err: GetExecutionHistoryError) -> Self
fn from(err: GetExecutionHistoryError) -> Self
source§impl From<ListActivitiesError> for Error
impl From<ListActivitiesError> for Error
source§fn from(err: ListActivitiesError) -> Self
fn from(err: ListActivitiesError) -> Self
source§impl From<ListExecutionsError> for Error
impl From<ListExecutionsError> for Error
source§fn from(err: ListExecutionsError) -> Self
fn from(err: ListExecutionsError) -> Self
source§impl From<ListMapRunsError> for Error
impl From<ListMapRunsError> for Error
source§fn from(err: ListMapRunsError) -> Self
fn from(err: ListMapRunsError) -> Self
source§impl From<ListStateMachineAliasesError> for Error
impl From<ListStateMachineAliasesError> for Error
source§fn from(err: ListStateMachineAliasesError) -> Self
fn from(err: ListStateMachineAliasesError) -> Self
source§impl From<ListStateMachineVersionsError> for Error
impl From<ListStateMachineVersionsError> for Error
source§fn from(err: ListStateMachineVersionsError) -> Self
fn from(err: ListStateMachineVersionsError) -> Self
source§impl From<ListStateMachinesError> for Error
impl From<ListStateMachinesError> for Error
source§fn from(err: ListStateMachinesError) -> Self
fn from(err: ListStateMachinesError) -> Self
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
source§impl From<PublishStateMachineVersionError> for Error
impl From<PublishStateMachineVersionError> for Error
source§fn from(err: PublishStateMachineVersionError) -> Self
fn from(err: PublishStateMachineVersionError) -> Self
source§impl From<RedriveExecutionError> for Error
impl From<RedriveExecutionError> for Error
source§fn from(err: RedriveExecutionError) -> Self
fn from(err: RedriveExecutionError) -> Self
source§impl<R> From<SdkError<CreateActivityError, R>> for Error
impl<R> From<SdkError<CreateActivityError, R>> for Error
source§fn from(err: SdkError<CreateActivityError, R>) -> Self
fn from(err: SdkError<CreateActivityError, R>) -> Self
source§impl<R> From<SdkError<CreateStateMachineAliasError, R>> for Error
impl<R> From<SdkError<CreateStateMachineAliasError, R>> for Error
source§fn from(err: SdkError<CreateStateMachineAliasError, R>) -> Self
fn from(err: SdkError<CreateStateMachineAliasError, R>) -> Self
source§impl<R> From<SdkError<CreateStateMachineError, R>> for Error
impl<R> From<SdkError<CreateStateMachineError, R>> for Error
source§fn from(err: SdkError<CreateStateMachineError, R>) -> Self
fn from(err: SdkError<CreateStateMachineError, R>) -> Self
source§impl<R> From<SdkError<DeleteActivityError, R>> for Error
impl<R> From<SdkError<DeleteActivityError, R>> for Error
source§fn from(err: SdkError<DeleteActivityError, R>) -> Self
fn from(err: SdkError<DeleteActivityError, R>) -> Self
source§impl<R> From<SdkError<DeleteStateMachineAliasError, R>> for Error
impl<R> From<SdkError<DeleteStateMachineAliasError, R>> for Error
source§fn from(err: SdkError<DeleteStateMachineAliasError, R>) -> Self
fn from(err: SdkError<DeleteStateMachineAliasError, R>) -> Self
source§impl<R> From<SdkError<DeleteStateMachineError, R>> for Error
impl<R> From<SdkError<DeleteStateMachineError, R>> for Error
source§fn from(err: SdkError<DeleteStateMachineError, R>) -> Self
fn from(err: SdkError<DeleteStateMachineError, R>) -> Self
source§impl<R> From<SdkError<DeleteStateMachineVersionError, R>> for Error
impl<R> From<SdkError<DeleteStateMachineVersionError, R>> for Error
source§fn from(err: SdkError<DeleteStateMachineVersionError, R>) -> Self
fn from(err: SdkError<DeleteStateMachineVersionError, R>) -> Self
source§impl<R> From<SdkError<DescribeActivityError, R>> for Error
impl<R> From<SdkError<DescribeActivityError, R>> for Error
source§fn from(err: SdkError<DescribeActivityError, R>) -> Self
fn from(err: SdkError<DescribeActivityError, R>) -> Self
source§impl<R> From<SdkError<DescribeExecutionError, R>> for Error
impl<R> From<SdkError<DescribeExecutionError, R>> for Error
source§fn from(err: SdkError<DescribeExecutionError, R>) -> Self
fn from(err: SdkError<DescribeExecutionError, R>) -> Self
source§impl<R> From<SdkError<DescribeMapRunError, R>> for Error
impl<R> From<SdkError<DescribeMapRunError, R>> for Error
source§fn from(err: SdkError<DescribeMapRunError, R>) -> Self
fn from(err: SdkError<DescribeMapRunError, R>) -> Self
source§impl<R> From<SdkError<DescribeStateMachineAliasError, R>> for Error
impl<R> From<SdkError<DescribeStateMachineAliasError, R>> for Error
source§fn from(err: SdkError<DescribeStateMachineAliasError, R>) -> Self
fn from(err: SdkError<DescribeStateMachineAliasError, R>) -> Self
source§impl<R> From<SdkError<DescribeStateMachineError, R>> for Error
impl<R> From<SdkError<DescribeStateMachineError, R>> for Error
source§fn from(err: SdkError<DescribeStateMachineError, R>) -> Self
fn from(err: SdkError<DescribeStateMachineError, R>) -> Self
source§impl<R> From<SdkError<DescribeStateMachineForExecutionError, R>> for Error
impl<R> From<SdkError<DescribeStateMachineForExecutionError, R>> for Error
source§fn from(err: SdkError<DescribeStateMachineForExecutionError, R>) -> Self
fn from(err: SdkError<DescribeStateMachineForExecutionError, R>) -> Self
source§impl<R> From<SdkError<GetActivityTaskError, R>> for Error
impl<R> From<SdkError<GetActivityTaskError, R>> for Error
source§fn from(err: SdkError<GetActivityTaskError, R>) -> Self
fn from(err: SdkError<GetActivityTaskError, R>) -> Self
source§impl<R> From<SdkError<GetExecutionHistoryError, R>> for Error
impl<R> From<SdkError<GetExecutionHistoryError, R>> for Error
source§fn from(err: SdkError<GetExecutionHistoryError, R>) -> Self
fn from(err: SdkError<GetExecutionHistoryError, R>) -> Self
source§impl<R> From<SdkError<ListActivitiesError, R>> for Error
impl<R> From<SdkError<ListActivitiesError, R>> for Error
source§fn from(err: SdkError<ListActivitiesError, R>) -> Self
fn from(err: SdkError<ListActivitiesError, R>) -> Self
source§impl<R> From<SdkError<ListExecutionsError, R>> for Error
impl<R> From<SdkError<ListExecutionsError, R>> for Error
source§fn from(err: SdkError<ListExecutionsError, R>) -> Self
fn from(err: SdkError<ListExecutionsError, R>) -> Self
source§impl<R> From<SdkError<ListMapRunsError, R>> for Error
impl<R> From<SdkError<ListMapRunsError, R>> for Error
source§fn from(err: SdkError<ListMapRunsError, R>) -> Self
fn from(err: SdkError<ListMapRunsError, R>) -> Self
source§impl<R> From<SdkError<ListStateMachineAliasesError, R>> for Error
impl<R> From<SdkError<ListStateMachineAliasesError, R>> for Error
source§fn from(err: SdkError<ListStateMachineAliasesError, R>) -> Self
fn from(err: SdkError<ListStateMachineAliasesError, R>) -> Self
source§impl<R> From<SdkError<ListStateMachineVersionsError, R>> for Error
impl<R> From<SdkError<ListStateMachineVersionsError, R>> for Error
source§fn from(err: SdkError<ListStateMachineVersionsError, R>) -> Self
fn from(err: SdkError<ListStateMachineVersionsError, R>) -> Self
source§impl<R> From<SdkError<ListStateMachinesError, R>> for Error
impl<R> From<SdkError<ListStateMachinesError, R>> for Error
source§fn from(err: SdkError<ListStateMachinesError, R>) -> Self
fn from(err: SdkError<ListStateMachinesError, R>) -> Self
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
source§impl<R> From<SdkError<PublishStateMachineVersionError, R>> for Error
impl<R> From<SdkError<PublishStateMachineVersionError, R>> for Error
source§fn from(err: SdkError<PublishStateMachineVersionError, R>) -> Self
fn from(err: SdkError<PublishStateMachineVersionError, R>) -> Self
source§impl<R> From<SdkError<RedriveExecutionError, R>> for Error
impl<R> From<SdkError<RedriveExecutionError, R>> for Error
source§fn from(err: SdkError<RedriveExecutionError, R>) -> Self
fn from(err: SdkError<RedriveExecutionError, R>) -> Self
source§impl<R> From<SdkError<SendTaskFailureError, R>> for Error
impl<R> From<SdkError<SendTaskFailureError, R>> for Error
source§fn from(err: SdkError<SendTaskFailureError, R>) -> Self
fn from(err: SdkError<SendTaskFailureError, R>) -> Self
source§impl<R> From<SdkError<SendTaskHeartbeatError, R>> for Error
impl<R> From<SdkError<SendTaskHeartbeatError, R>> for Error
source§fn from(err: SdkError<SendTaskHeartbeatError, R>) -> Self
fn from(err: SdkError<SendTaskHeartbeatError, R>) -> Self
source§impl<R> From<SdkError<SendTaskSuccessError, R>> for Error
impl<R> From<SdkError<SendTaskSuccessError, R>> for Error
source§fn from(err: SdkError<SendTaskSuccessError, R>) -> Self
fn from(err: SdkError<SendTaskSuccessError, R>) -> Self
source§impl<R> From<SdkError<StartExecutionError, R>> for Error
impl<R> From<SdkError<StartExecutionError, R>> for Error
source§fn from(err: SdkError<StartExecutionError, R>) -> Self
fn from(err: SdkError<StartExecutionError, R>) -> Self
source§impl<R> From<SdkError<StartSyncExecutionError, R>> for Error
impl<R> From<SdkError<StartSyncExecutionError, R>> for Error
source§fn from(err: SdkError<StartSyncExecutionError, R>) -> Self
fn from(err: SdkError<StartSyncExecutionError, R>) -> Self
source§impl<R> From<SdkError<StopExecutionError, R>> for Error
impl<R> From<SdkError<StopExecutionError, R>> for Error
source§fn from(err: SdkError<StopExecutionError, R>) -> Self
fn from(err: SdkError<StopExecutionError, R>) -> Self
source§impl<R> From<SdkError<TagResourceError, R>> for Error
impl<R> From<SdkError<TagResourceError, R>> for Error
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
source§impl<R> From<SdkError<TestStateError, R>> for Error
impl<R> From<SdkError<TestStateError, R>> for Error
source§fn from(err: SdkError<TestStateError, R>) -> Self
fn from(err: SdkError<TestStateError, R>) -> Self
source§impl<R> From<SdkError<UntagResourceError, R>> for Error
impl<R> From<SdkError<UntagResourceError, R>> for Error
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
source§impl<R> From<SdkError<UpdateMapRunError, R>> for Error
impl<R> From<SdkError<UpdateMapRunError, R>> for Error
source§fn from(err: SdkError<UpdateMapRunError, R>) -> Self
fn from(err: SdkError<UpdateMapRunError, R>) -> Self
source§impl<R> From<SdkError<UpdateStateMachineAliasError, R>> for Error
impl<R> From<SdkError<UpdateStateMachineAliasError, R>> for Error
source§fn from(err: SdkError<UpdateStateMachineAliasError, R>) -> Self
fn from(err: SdkError<UpdateStateMachineAliasError, R>) -> Self
source§impl<R> From<SdkError<UpdateStateMachineError, R>> for Error
impl<R> From<SdkError<UpdateStateMachineError, R>> for Error
source§fn from(err: SdkError<UpdateStateMachineError, R>) -> Self
fn from(err: SdkError<UpdateStateMachineError, R>) -> Self
source§impl<R> From<SdkError<ValidateStateMachineDefinitionError, R>> for Error
impl<R> From<SdkError<ValidateStateMachineDefinitionError, R>> for Error
source§fn from(err: SdkError<ValidateStateMachineDefinitionError, R>) -> Self
fn from(err: SdkError<ValidateStateMachineDefinitionError, R>) -> Self
source§impl From<SendTaskFailureError> for Error
impl From<SendTaskFailureError> for Error
source§fn from(err: SendTaskFailureError) -> Self
fn from(err: SendTaskFailureError) -> Self
source§impl From<SendTaskHeartbeatError> for Error
impl From<SendTaskHeartbeatError> for Error
source§fn from(err: SendTaskHeartbeatError) -> Self
fn from(err: SendTaskHeartbeatError) -> Self
source§impl From<SendTaskSuccessError> for Error
impl From<SendTaskSuccessError> for Error
source§fn from(err: SendTaskSuccessError) -> Self
fn from(err: SendTaskSuccessError) -> Self
source§impl From<StartExecutionError> for Error
impl From<StartExecutionError> for Error
source§fn from(err: StartExecutionError) -> Self
fn from(err: StartExecutionError) -> Self
source§impl From<StartSyncExecutionError> for Error
impl From<StartSyncExecutionError> for Error
source§fn from(err: StartSyncExecutionError) -> Self
fn from(err: StartSyncExecutionError) -> Self
source§impl From<StopExecutionError> for Error
impl From<StopExecutionError> for Error
source§fn from(err: StopExecutionError) -> Self
fn from(err: StopExecutionError) -> Self
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
source§impl From<TestStateError> for Error
impl From<TestStateError> for Error
source§fn from(err: TestStateError) -> Self
fn from(err: TestStateError) -> Self
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdateMapRunError> for Error
impl From<UpdateMapRunError> for Error
source§fn from(err: UpdateMapRunError) -> Self
fn from(err: UpdateMapRunError) -> Self
source§impl From<UpdateStateMachineAliasError> for Error
impl From<UpdateStateMachineAliasError> for Error
source§fn from(err: UpdateStateMachineAliasError) -> Self
fn from(err: UpdateStateMachineAliasError) -> Self
source§impl From<UpdateStateMachineError> for Error
impl From<UpdateStateMachineError> for Error
source§fn from(err: UpdateStateMachineError) -> Self
fn from(err: UpdateStateMachineError) -> Self
source§impl From<ValidateStateMachineDefinitionError> for Error
impl From<ValidateStateMachineDefinitionError> for Error
source§fn from(err: ValidateStateMachineDefinitionError) -> Self
fn from(err: ValidateStateMachineDefinitionError) -> Self
source§impl ProvideErrorMetadata for Error
impl ProvideErrorMetadata for Error
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more