Enum aws_sdk_qbusiness::Error

source ·
#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), ConflictException(ConflictException), InternalServerException(InternalServerException), LicenseNotFoundException(LicenseNotFoundException), ResourceNotFoundException(ResourceNotFoundException), ServiceQuotaExceededException(ServiceQuotaExceededException), ThrottlingException(ThrottlingException), 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 don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.

§

ConflictException(ConflictException)

You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.

§

InternalServerException(InternalServerException)

An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.

§

LicenseNotFoundException(LicenseNotFoundException)

You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.

§

ServiceQuotaExceededException(ServiceQuotaExceededException)

You have exceeded the set limits for your Amazon Q Business service.

§

ThrottlingException(ThrottlingException)

The request was denied due to throttling. Reduce the number of requests and try again.

§

ValidationException(ValidationException)

The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.

§

Unhandled(Unhandled)

👎Deprecated: Matching 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 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<BatchDeleteDocumentError> for Error

source§

fn from(err: BatchDeleteDocumentError) -> Self

Converts to this type from the input type.
source§

impl From<BatchPutDocumentError> for Error

source§

fn from(err: BatchPutDocumentError) -> Self

Converts to this type from the input type.
source§

impl From<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<ChatError> for Error

source§

fn from(err: ChatError) -> Self

Converts to this type from the input type.
source§

impl From<ChatInputStreamError> for Error

source§

fn from(err: ChatInputStreamError) -> Self

Converts to this type from the input type.
source§

impl From<ChatOutputStreamError> for Error

source§

fn from(err: ChatOutputStreamError) -> Self

Converts to this type from the input type.
source§

impl From<ChatSyncError> for Error

source§

fn from(err: ChatSyncError) -> Self

Converts to this type from the input type.
source§

impl From<CreateApplicationError> for Error

source§

fn from(err: CreateApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDataSourceError> for Error

source§

fn from(err: CreateDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateIndexError> for Error

source§

fn from(err: CreateIndexError) -> Self

Converts to this type from the input type.
source§

impl From<CreatePluginError> for Error

source§

fn from(err: CreatePluginError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRetrieverError> for Error

source§

fn from(err: CreateRetrieverError) -> Self

Converts to this type from the input type.
source§

impl From<CreateUserError> for Error

source§

fn from(err: CreateUserError) -> Self

Converts to this type from the input type.
source§

impl From<CreateWebExperienceError> for Error

source§

fn from(err: CreateWebExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationError> for Error

source§

fn from(err: DeleteApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteChatControlsConfigurationError> for Error

source§

fn from(err: DeleteChatControlsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteConversationError> for Error

source§

fn from(err: DeleteConversationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDataSourceError> for Error

source§

fn from(err: DeleteDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteGroupError> for Error

source§

fn from(err: DeleteGroupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteIndexError> for Error

source§

fn from(err: DeleteIndexError) -> Self

Converts to this type from the input type.
source§

impl From<DeletePluginError> for Error

source§

fn from(err: DeletePluginError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRetrieverError> for Error

source§

fn from(err: DeleteRetrieverError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteUserError> for Error

source§

fn from(err: DeleteUserError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteWebExperienceError> for Error

source§

fn from(err: DeleteWebExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<GetApplicationError> for Error

source§

fn from(err: GetApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<GetChatControlsConfigurationError> for Error

source§

fn from(err: GetChatControlsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetDataSourceError> for Error

source§

fn from(err: GetDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<GetGroupError> for Error

source§

fn from(err: GetGroupError) -> Self

Converts to this type from the input type.
source§

impl From<GetIndexError> for Error

source§

fn from(err: GetIndexError) -> Self

Converts to this type from the input type.
source§

impl From<GetPluginError> for Error

source§

fn from(err: GetPluginError) -> Self

Converts to this type from the input type.
source§

impl From<GetRetrieverError> for Error

source§

fn from(err: GetRetrieverError) -> Self

Converts to this type from the input type.
source§

impl From<GetUserError> for Error

source§

fn from(err: GetUserError) -> Self

Converts to this type from the input type.
source§

impl From<GetWebExperienceError> for Error

source§

fn from(err: GetWebExperienceError) -> Self

Converts to this type from the input type.
source§

impl From<ListApplicationsError> for Error

source§

fn from(err: ListApplicationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListConversationsError> for Error

source§

fn from(err: ListConversationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDataSourceSyncJobsError> for Error

source§

fn from(err: ListDataSourceSyncJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDataSourcesError> for Error

source§

fn from(err: ListDataSourcesError) -> Self

Converts to this type from the input type.
source§

impl From<ListDocumentsError> for Error

source§

fn from(err: ListDocumentsError) -> Self

Converts to this type from the input type.
source§

impl From<ListGroupsError> for Error

source§

fn from(err: ListGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<ListIndicesError> for Error

source§

fn from(err: ListIndicesError) -> Self

Converts to this type from the input type.
source§

impl From<ListMessagesError> for Error

source§

fn from(err: ListMessagesError) -> Self

Converts to this type from the input type.
source§

impl From<ListPluginsError> for Error

source§

fn from(err: ListPluginsError) -> Self

Converts to this type from the input type.
source§

impl From<ListRetrieversError> for Error

source§

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

source§

fn from(err: ListWebExperiencesError) -> Self

Converts to this type from the input type.
source§

impl From<PutFeedbackError> for Error

source§

fn from(err: PutFeedbackError) -> Self

Converts to this type from the input type.
source§

impl From<PutGroupError> for Error

source§

fn from(err: PutGroupError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl From<StartDataSourceSyncJobError> for Error

source§

fn from(err: StartDataSourceSyncJobError) -> Self

Converts to this type from the input type.
source§

impl From<StopDataSourceSyncJobError> for Error

source§

fn from(err: StopDataSourceSyncJobError) -> Self

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateApplicationError> for Error

source§

fn from(err: UpdateApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateChatControlsConfigurationError> for Error

source§

fn from(err: UpdateChatControlsConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDataSourceError> for Error

source§

fn from(err: UpdateDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateIndexError> for Error

source§

fn from(err: UpdateIndexError) -> Self

Converts to this type from the input type.
source§

impl From<UpdatePluginError> for Error

source§

fn from(err: UpdatePluginError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRetrieverError> for Error

source§

fn from(err: UpdateRetrieverError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateUserError> for Error

source§

fn from(err: UpdateUserError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateWebExperienceError> for Error

source§

fn from(err: UpdateWebExperienceError) -> Self

Converts to this type from the input type.
source§

impl ProvideErrorMetadata for Error

source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
source§

fn code(&self) -> Option<&str>

Returns the error code if it’s available.
source§

fn message(&self) -> Option<&str>

Returns the error message, if there is one.
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 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> 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<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
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