Enum aws_sdk_chatbot::Error
source · #[non_exhaustive]pub enum Error {
Show 32 variants
ConflictException(ConflictException),
CreateChimeWebhookConfigurationException(CreateChimeWebhookConfigurationException),
CreateSlackChannelConfigurationException(CreateSlackChannelConfigurationException),
CreateTeamsChannelConfigurationException(CreateTeamsChannelConfigurationException),
DeleteChimeWebhookConfigurationException(DeleteChimeWebhookConfigurationException),
DeleteMicrosoftTeamsUserIdentityException(DeleteMicrosoftTeamsUserIdentityException),
DeleteSlackChannelConfigurationException(DeleteSlackChannelConfigurationException),
DeleteSlackUserIdentityException(DeleteSlackUserIdentityException),
DeleteSlackWorkspaceAuthorizationFault(DeleteSlackWorkspaceAuthorizationFault),
DeleteTeamsChannelConfigurationException(DeleteTeamsChannelConfigurationException),
DeleteTeamsConfiguredTeamException(DeleteTeamsConfiguredTeamException),
DescribeChimeWebhookConfigurationsException(DescribeChimeWebhookConfigurationsException),
DescribeSlackChannelConfigurationsException(DescribeSlackChannelConfigurationsException),
DescribeSlackUserIdentitiesException(DescribeSlackUserIdentitiesException),
DescribeSlackWorkspacesException(DescribeSlackWorkspacesException),
GetAccountPreferencesException(GetAccountPreferencesException),
GetTeamsChannelConfigurationException(GetTeamsChannelConfigurationException),
InternalServiceError(InternalServiceError),
InvalidParameterException(InvalidParameterException),
InvalidRequestException(InvalidRequestException),
LimitExceededException(LimitExceededException),
ListMicrosoftTeamsConfiguredTeamsException(ListMicrosoftTeamsConfiguredTeamsException),
ListMicrosoftTeamsUserIdentitiesException(ListMicrosoftTeamsUserIdentitiesException),
ListTeamsChannelConfigurationsException(ListTeamsChannelConfigurationsException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
TooManyTagsException(TooManyTagsException),
UpdateAccountPreferencesException(UpdateAccountPreferencesException),
UpdateChimeWebhookConfigurationException(UpdateChimeWebhookConfigurationException),
UpdateSlackChannelConfigurationException(UpdateSlackChannelConfigurationException),
UpdateTeamsChannelConfigurationException(UpdateTeamsChannelConfigurationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ConflictException(ConflictException)
There was an issue processing your request.
CreateChimeWebhookConfigurationException(CreateChimeWebhookConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
CreateSlackChannelConfigurationException(CreateSlackChannelConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
CreateTeamsChannelConfigurationException(CreateTeamsChannelConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
DeleteChimeWebhookConfigurationException(DeleteChimeWebhookConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
DeleteMicrosoftTeamsUserIdentityException(DeleteMicrosoftTeamsUserIdentityException)
We can’t process your request right now because of a server issue. Try again later.
DeleteSlackChannelConfigurationException(DeleteSlackChannelConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
DeleteSlackUserIdentityException(DeleteSlackUserIdentityException)
We can’t process your request right now because of a server issue. Try again later.
DeleteSlackWorkspaceAuthorizationFault(DeleteSlackWorkspaceAuthorizationFault)
There was an issue deleting your Slack workspace.
DeleteTeamsChannelConfigurationException(DeleteTeamsChannelConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
DeleteTeamsConfiguredTeamException(DeleteTeamsConfiguredTeamException)
We can’t process your request right now because of a server issue. Try again later.
DescribeChimeWebhookConfigurationsException(DescribeChimeWebhookConfigurationsException)
We can’t process your request right now because of a server issue. Try again later.
DescribeSlackChannelConfigurationsException(DescribeSlackChannelConfigurationsException)
We can’t process your request right now because of a server issue. Try again later.
DescribeSlackUserIdentitiesException(DescribeSlackUserIdentitiesException)
We can’t process your request right now because of a server issue. Try again later.
DescribeSlackWorkspacesException(DescribeSlackWorkspacesException)
We can’t process your request right now because of a server issue. Try again later.
GetAccountPreferencesException(GetAccountPreferencesException)
We can’t process your request right now because of a server issue. Try again later.
GetTeamsChannelConfigurationException(GetTeamsChannelConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
InternalServiceError(InternalServiceError)
Unexpected error during processing of request.
InvalidParameterException(InvalidParameterException)
Your request input doesn't meet the constraints required by AWS Chatbot.
InvalidRequestException(InvalidRequestException)
Your request input doesn't meet the constraints required by AWS Chatbot.
LimitExceededException(LimitExceededException)
You have exceeded a service limit for AWS Chatbot.
ListMicrosoftTeamsConfiguredTeamsException(ListMicrosoftTeamsConfiguredTeamsException)
We can’t process your request right now because of a server issue. Try again later.
ListMicrosoftTeamsUserIdentitiesException(ListMicrosoftTeamsUserIdentitiesException)
We can’t process your request right now because of a server issue. Try again later.
ListTeamsChannelConfigurationsException(ListTeamsChannelConfigurationsException)
We can’t process your request right now because of a server issue. Try again later.
ResourceNotFoundException(ResourceNotFoundException)
We were unable to find the resource for your request
We can’t process your request right now because of a server issue. Try again later.
TooManyTagsException(TooManyTagsException)
The supplied list of tags contains too many tags.
UpdateAccountPreferencesException(UpdateAccountPreferencesException)
We can’t process your request right now because of a server issue. Try again later.
UpdateChimeWebhookConfigurationException(UpdateChimeWebhookConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
UpdateSlackChannelConfigurationException(UpdateSlackChannelConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
UpdateTeamsChannelConfigurationException(UpdateTeamsChannelConfigurationException)
We can’t process your request right now because of a server issue. Try again later.
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<CreateChimeWebhookConfigurationError> for Error
impl From<CreateChimeWebhookConfigurationError> for Error
source§fn from(err: CreateChimeWebhookConfigurationError) -> Self
fn from(err: CreateChimeWebhookConfigurationError) -> Self
source§impl From<CreateMicrosoftTeamsChannelConfigurationError> for Error
impl From<CreateMicrosoftTeamsChannelConfigurationError> for Error
source§fn from(err: CreateMicrosoftTeamsChannelConfigurationError) -> Self
fn from(err: CreateMicrosoftTeamsChannelConfigurationError) -> Self
source§impl From<CreateSlackChannelConfigurationError> for Error
impl From<CreateSlackChannelConfigurationError> for Error
source§fn from(err: CreateSlackChannelConfigurationError) -> Self
fn from(err: CreateSlackChannelConfigurationError) -> Self
source§impl From<DeleteChimeWebhookConfigurationError> for Error
impl From<DeleteChimeWebhookConfigurationError> for Error
source§fn from(err: DeleteChimeWebhookConfigurationError) -> Self
fn from(err: DeleteChimeWebhookConfigurationError) -> Self
source§impl From<DeleteMicrosoftTeamsChannelConfigurationError> for Error
impl From<DeleteMicrosoftTeamsChannelConfigurationError> for Error
source§fn from(err: DeleteMicrosoftTeamsChannelConfigurationError) -> Self
fn from(err: DeleteMicrosoftTeamsChannelConfigurationError) -> Self
source§impl From<DeleteMicrosoftTeamsConfiguredTeamError> for Error
impl From<DeleteMicrosoftTeamsConfiguredTeamError> for Error
source§fn from(err: DeleteMicrosoftTeamsConfiguredTeamError) -> Self
fn from(err: DeleteMicrosoftTeamsConfiguredTeamError) -> Self
source§impl From<DeleteMicrosoftTeamsUserIdentityError> for Error
impl From<DeleteMicrosoftTeamsUserIdentityError> for Error
source§fn from(err: DeleteMicrosoftTeamsUserIdentityError) -> Self
fn from(err: DeleteMicrosoftTeamsUserIdentityError) -> Self
source§impl From<DeleteSlackChannelConfigurationError> for Error
impl From<DeleteSlackChannelConfigurationError> for Error
source§fn from(err: DeleteSlackChannelConfigurationError) -> Self
fn from(err: DeleteSlackChannelConfigurationError) -> Self
source§impl From<DeleteSlackUserIdentityError> for Error
impl From<DeleteSlackUserIdentityError> for Error
source§fn from(err: DeleteSlackUserIdentityError) -> Self
fn from(err: DeleteSlackUserIdentityError) -> Self
source§impl From<DeleteSlackWorkspaceAuthorizationError> for Error
impl From<DeleteSlackWorkspaceAuthorizationError> for Error
source§fn from(err: DeleteSlackWorkspaceAuthorizationError) -> Self
fn from(err: DeleteSlackWorkspaceAuthorizationError) -> Self
source§impl From<DescribeChimeWebhookConfigurationsError> for Error
impl From<DescribeChimeWebhookConfigurationsError> for Error
source§fn from(err: DescribeChimeWebhookConfigurationsError) -> Self
fn from(err: DescribeChimeWebhookConfigurationsError) -> Self
source§impl From<DescribeSlackChannelConfigurationsError> for Error
impl From<DescribeSlackChannelConfigurationsError> for Error
source§fn from(err: DescribeSlackChannelConfigurationsError) -> Self
fn from(err: DescribeSlackChannelConfigurationsError) -> Self
source§impl From<DescribeSlackUserIdentitiesError> for Error
impl From<DescribeSlackUserIdentitiesError> for Error
source§fn from(err: DescribeSlackUserIdentitiesError) -> Self
fn from(err: DescribeSlackUserIdentitiesError) -> Self
source§impl From<DescribeSlackWorkspacesError> for Error
impl From<DescribeSlackWorkspacesError> for Error
source§fn from(err: DescribeSlackWorkspacesError) -> Self
fn from(err: DescribeSlackWorkspacesError) -> Self
source§impl From<GetAccountPreferencesError> for Error
impl From<GetAccountPreferencesError> for Error
source§fn from(err: GetAccountPreferencesError) -> Self
fn from(err: GetAccountPreferencesError) -> Self
source§impl From<GetMicrosoftTeamsChannelConfigurationError> for Error
impl From<GetMicrosoftTeamsChannelConfigurationError> for Error
source§fn from(err: GetMicrosoftTeamsChannelConfigurationError) -> Self
fn from(err: GetMicrosoftTeamsChannelConfigurationError) -> Self
source§impl From<ListMicrosoftTeamsChannelConfigurationsError> for Error
impl From<ListMicrosoftTeamsChannelConfigurationsError> for Error
source§fn from(err: ListMicrosoftTeamsChannelConfigurationsError) -> Self
fn from(err: ListMicrosoftTeamsChannelConfigurationsError) -> Self
source§impl From<ListMicrosoftTeamsConfiguredTeamsError> for Error
impl From<ListMicrosoftTeamsConfiguredTeamsError> for Error
source§fn from(err: ListMicrosoftTeamsConfiguredTeamsError) -> Self
fn from(err: ListMicrosoftTeamsConfiguredTeamsError) -> Self
source§impl From<ListMicrosoftTeamsUserIdentitiesError> for Error
impl From<ListMicrosoftTeamsUserIdentitiesError> for Error
source§fn from(err: ListMicrosoftTeamsUserIdentitiesError) -> Self
fn from(err: ListMicrosoftTeamsUserIdentitiesError) -> 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<R> From<SdkError<CreateChimeWebhookConfigurationError, R>> for Error
impl<R> From<SdkError<CreateChimeWebhookConfigurationError, R>> for Error
source§fn from(err: SdkError<CreateChimeWebhookConfigurationError, R>) -> Self
fn from(err: SdkError<CreateChimeWebhookConfigurationError, R>) -> Self
source§impl<R> From<SdkError<CreateMicrosoftTeamsChannelConfigurationError, R>> for Error
impl<R> From<SdkError<CreateMicrosoftTeamsChannelConfigurationError, R>> for Error
source§fn from(err: SdkError<CreateMicrosoftTeamsChannelConfigurationError, R>) -> Self
fn from(err: SdkError<CreateMicrosoftTeamsChannelConfigurationError, R>) -> Self
source§impl<R> From<SdkError<CreateSlackChannelConfigurationError, R>> for Error
impl<R> From<SdkError<CreateSlackChannelConfigurationError, R>> for Error
source§fn from(err: SdkError<CreateSlackChannelConfigurationError, R>) -> Self
fn from(err: SdkError<CreateSlackChannelConfigurationError, R>) -> Self
source§impl<R> From<SdkError<DeleteChimeWebhookConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteChimeWebhookConfigurationError, R>> for Error
source§fn from(err: SdkError<DeleteChimeWebhookConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteChimeWebhookConfigurationError, R>) -> Self
source§impl<R> From<SdkError<DeleteMicrosoftTeamsChannelConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteMicrosoftTeamsChannelConfigurationError, R>> for Error
source§fn from(err: SdkError<DeleteMicrosoftTeamsChannelConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteMicrosoftTeamsChannelConfigurationError, R>) -> Self
source§impl<R> From<SdkError<DeleteMicrosoftTeamsConfiguredTeamError, R>> for Error
impl<R> From<SdkError<DeleteMicrosoftTeamsConfiguredTeamError, R>> for Error
source§fn from(err: SdkError<DeleteMicrosoftTeamsConfiguredTeamError, R>) -> Self
fn from(err: SdkError<DeleteMicrosoftTeamsConfiguredTeamError, R>) -> Self
source§impl<R> From<SdkError<DeleteMicrosoftTeamsUserIdentityError, R>> for Error
impl<R> From<SdkError<DeleteMicrosoftTeamsUserIdentityError, R>> for Error
source§fn from(err: SdkError<DeleteMicrosoftTeamsUserIdentityError, R>) -> Self
fn from(err: SdkError<DeleteMicrosoftTeamsUserIdentityError, R>) -> Self
source§impl<R> From<SdkError<DeleteSlackChannelConfigurationError, R>> for Error
impl<R> From<SdkError<DeleteSlackChannelConfigurationError, R>> for Error
source§fn from(err: SdkError<DeleteSlackChannelConfigurationError, R>) -> Self
fn from(err: SdkError<DeleteSlackChannelConfigurationError, R>) -> Self
source§impl<R> From<SdkError<DeleteSlackUserIdentityError, R>> for Error
impl<R> From<SdkError<DeleteSlackUserIdentityError, R>> for Error
source§fn from(err: SdkError<DeleteSlackUserIdentityError, R>) -> Self
fn from(err: SdkError<DeleteSlackUserIdentityError, R>) -> Self
source§impl<R> From<SdkError<DeleteSlackWorkspaceAuthorizationError, R>> for Error
impl<R> From<SdkError<DeleteSlackWorkspaceAuthorizationError, R>> for Error
source§fn from(err: SdkError<DeleteSlackWorkspaceAuthorizationError, R>) -> Self
fn from(err: SdkError<DeleteSlackWorkspaceAuthorizationError, R>) -> Self
source§impl<R> From<SdkError<DescribeChimeWebhookConfigurationsError, R>> for Error
impl<R> From<SdkError<DescribeChimeWebhookConfigurationsError, R>> for Error
source§fn from(err: SdkError<DescribeChimeWebhookConfigurationsError, R>) -> Self
fn from(err: SdkError<DescribeChimeWebhookConfigurationsError, R>) -> Self
source§impl<R> From<SdkError<DescribeSlackChannelConfigurationsError, R>> for Error
impl<R> From<SdkError<DescribeSlackChannelConfigurationsError, R>> for Error
source§fn from(err: SdkError<DescribeSlackChannelConfigurationsError, R>) -> Self
fn from(err: SdkError<DescribeSlackChannelConfigurationsError, R>) -> Self
source§impl<R> From<SdkError<DescribeSlackUserIdentitiesError, R>> for Error
impl<R> From<SdkError<DescribeSlackUserIdentitiesError, R>> for Error
source§fn from(err: SdkError<DescribeSlackUserIdentitiesError, R>) -> Self
fn from(err: SdkError<DescribeSlackUserIdentitiesError, R>) -> Self
source§impl<R> From<SdkError<DescribeSlackWorkspacesError, R>> for Error
impl<R> From<SdkError<DescribeSlackWorkspacesError, R>> for Error
source§fn from(err: SdkError<DescribeSlackWorkspacesError, R>) -> Self
fn from(err: SdkError<DescribeSlackWorkspacesError, R>) -> Self
source§impl<R> From<SdkError<GetAccountPreferencesError, R>> for Error
impl<R> From<SdkError<GetAccountPreferencesError, R>> for Error
source§fn from(err: SdkError<GetAccountPreferencesError, R>) -> Self
fn from(err: SdkError<GetAccountPreferencesError, R>) -> Self
source§impl<R> From<SdkError<GetMicrosoftTeamsChannelConfigurationError, R>> for Error
impl<R> From<SdkError<GetMicrosoftTeamsChannelConfigurationError, R>> for Error
source§fn from(err: SdkError<GetMicrosoftTeamsChannelConfigurationError, R>) -> Self
fn from(err: SdkError<GetMicrosoftTeamsChannelConfigurationError, R>) -> Self
source§impl<R> From<SdkError<ListMicrosoftTeamsChannelConfigurationsError, R>> for Error
impl<R> From<SdkError<ListMicrosoftTeamsChannelConfigurationsError, R>> for Error
source§fn from(err: SdkError<ListMicrosoftTeamsChannelConfigurationsError, R>) -> Self
fn from(err: SdkError<ListMicrosoftTeamsChannelConfigurationsError, R>) -> Self
source§impl<R> From<SdkError<ListMicrosoftTeamsConfiguredTeamsError, R>> for Error
impl<R> From<SdkError<ListMicrosoftTeamsConfiguredTeamsError, R>> for Error
source§fn from(err: SdkError<ListMicrosoftTeamsConfiguredTeamsError, R>) -> Self
fn from(err: SdkError<ListMicrosoftTeamsConfiguredTeamsError, R>) -> Self
source§impl<R> From<SdkError<ListMicrosoftTeamsUserIdentitiesError, R>> for Error
impl<R> From<SdkError<ListMicrosoftTeamsUserIdentitiesError, R>> for Error
source§fn from(err: SdkError<ListMicrosoftTeamsUserIdentitiesError, R>) -> Self
fn from(err: SdkError<ListMicrosoftTeamsUserIdentitiesError, 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<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<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<UpdateAccountPreferencesError, R>> for Error
impl<R> From<SdkError<UpdateAccountPreferencesError, R>> for Error
source§fn from(err: SdkError<UpdateAccountPreferencesError, R>) -> Self
fn from(err: SdkError<UpdateAccountPreferencesError, R>) -> Self
source§impl<R> From<SdkError<UpdateChimeWebhookConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateChimeWebhookConfigurationError, R>> for Error
source§fn from(err: SdkError<UpdateChimeWebhookConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateChimeWebhookConfigurationError, R>) -> Self
source§impl<R> From<SdkError<UpdateMicrosoftTeamsChannelConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateMicrosoftTeamsChannelConfigurationError, R>> for Error
source§fn from(err: SdkError<UpdateMicrosoftTeamsChannelConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateMicrosoftTeamsChannelConfigurationError, R>) -> Self
source§impl<R> From<SdkError<UpdateSlackChannelConfigurationError, R>> for Error
impl<R> From<SdkError<UpdateSlackChannelConfigurationError, R>> for Error
source§fn from(err: SdkError<UpdateSlackChannelConfigurationError, R>) -> Self
fn from(err: SdkError<UpdateSlackChannelConfigurationError, R>) -> 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<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
source§impl From<UpdateAccountPreferencesError> for Error
impl From<UpdateAccountPreferencesError> for Error
source§fn from(err: UpdateAccountPreferencesError) -> Self
fn from(err: UpdateAccountPreferencesError) -> Self
source§impl From<UpdateChimeWebhookConfigurationError> for Error
impl From<UpdateChimeWebhookConfigurationError> for Error
source§fn from(err: UpdateChimeWebhookConfigurationError) -> Self
fn from(err: UpdateChimeWebhookConfigurationError) -> Self
source§impl From<UpdateMicrosoftTeamsChannelConfigurationError> for Error
impl From<UpdateMicrosoftTeamsChannelConfigurationError> for Error
source§fn from(err: UpdateMicrosoftTeamsChannelConfigurationError) -> Self
fn from(err: UpdateMicrosoftTeamsChannelConfigurationError) -> Self
source§impl From<UpdateSlackChannelConfigurationError> for Error
impl From<UpdateSlackChannelConfigurationError> for Error
source§fn from(err: UpdateSlackChannelConfigurationError) -> Self
fn from(err: UpdateSlackChannelConfigurationError) -> 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