Enum aws_sdk_workdocs::Error

source ·
#[non_exhaustive]
pub enum Error {
Show 26 variants ConcurrentModificationException(ConcurrentModificationException), ConflictingOperationException(ConflictingOperationException), CustomMetadataLimitExceededException(CustomMetadataLimitExceededException), DeactivatingLastSystemUserException(DeactivatingLastSystemUserException), DocumentLockedForCommentsException(DocumentLockedForCommentsException), DraftUploadOutOfSyncException(DraftUploadOutOfSyncException), EntityAlreadyExistsException(EntityAlreadyExistsException), EntityNotExistsException(EntityNotExistsException), FailedDependencyException(FailedDependencyException), IllegalUserStateException(IllegalUserStateException), InvalidArgumentException(InvalidArgumentException), InvalidCommentOperationException(InvalidCommentOperationException), InvalidOperationException(InvalidOperationException), InvalidPasswordException(InvalidPasswordException), LimitExceededException(LimitExceededException), ProhibitedStateException(ProhibitedStateException), RequestedEntityTooLargeException(RequestedEntityTooLargeException), ResourceAlreadyCheckedOutException(ResourceAlreadyCheckedOutException), ServiceUnavailableException(ServiceUnavailableException), StorageLimitExceededException(StorageLimitExceededException), StorageLimitWillExceedException(StorageLimitWillExceedException), TooManyLabelsException(TooManyLabelsException), TooManySubscriptionsException(TooManySubscriptionsException), UnauthorizedOperationException(UnauthorizedOperationException), UnauthorizedResourceAccessException(UnauthorizedResourceAccessException), 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.
§

ConcurrentModificationException(ConcurrentModificationException)

The resource hierarchy is changing.

§

ConflictingOperationException(ConflictingOperationException)

Another operation is in progress on the resource that conflicts with the current operation.

§

CustomMetadataLimitExceededException(CustomMetadataLimitExceededException)

The limit has been reached on the number of custom properties for the specified resource.

§

DeactivatingLastSystemUserException(DeactivatingLastSystemUserException)

The last user in the organization is being deactivated.

§

DocumentLockedForCommentsException(DocumentLockedForCommentsException)

This exception is thrown when the document is locked for comments and user tries to create or delete a comment on that document.

§

DraftUploadOutOfSyncException(DraftUploadOutOfSyncException)

This exception is thrown when a valid checkout ID is not presented on document version upload calls for a document that has been checked out from Web client.

§

EntityAlreadyExistsException(EntityAlreadyExistsException)

The resource already exists.

§

EntityNotExistsException(EntityNotExistsException)

The resource does not exist.

§

FailedDependencyException(FailedDependencyException)

The Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.

§

IllegalUserStateException(IllegalUserStateException)

The user is undergoing transfer of ownership.

§

InvalidArgumentException(InvalidArgumentException)

The pagination marker or limit fields are not valid.

§

InvalidCommentOperationException(InvalidCommentOperationException)

The requested operation is not allowed on the specified comment object.

§

InvalidOperationException(InvalidOperationException)

The operation is invalid.

§

InvalidPasswordException(InvalidPasswordException)

The password is invalid.

§

LimitExceededException(LimitExceededException)

The maximum of 100,000 files and folders under the parent folder has been exceeded.

§

ProhibitedStateException(ProhibitedStateException)

The specified document version is not in the INITIALIZED state.

§

RequestedEntityTooLargeException(RequestedEntityTooLargeException)

The response is too large to return. The request must include a filter to reduce the size of the response.

§

ResourceAlreadyCheckedOutException(ResourceAlreadyCheckedOutException)

The resource is already checked out.

§

ServiceUnavailableException(ServiceUnavailableException)

One or more of the dependencies is unavailable.

§

StorageLimitExceededException(StorageLimitExceededException)

The storage limit has been exceeded.

§

StorageLimitWillExceedException(StorageLimitWillExceedException)

The storage limit will be exceeded.

§

TooManyLabelsException(TooManyLabelsException)

The limit has been reached on the number of labels for the specified resource.

§

TooManySubscriptionsException(TooManySubscriptionsException)

You've reached the limit on the number of subscriptions for the WorkDocs instance.

§

UnauthorizedOperationException(UnauthorizedOperationException)

The operation is not permitted.

§

UnauthorizedResourceAccessException(UnauthorizedResourceAccessException)

The caller does not have access to perform the action on the resource.

§

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

source§

fn from(err: AbortDocumentVersionUploadError) -> Self

Converts to this type from the input type.
source§

impl From<ActivateUserError> for Error

source§

fn from(err: ActivateUserError) -> Self

Converts to this type from the input type.
source§

impl From<AddResourcePermissionsError> for Error

source§

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

source§

fn from(err: CreateCommentError) -> Self

Converts to this type from the input type.
source§

impl From<CreateCustomMetadataError> for Error

source§

fn from(err: CreateCustomMetadataError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFolderError> for Error

source§

fn from(err: CreateFolderError) -> Self

Converts to this type from the input type.
source§

impl From<CreateLabelsError> for Error

source§

fn from(err: CreateLabelsError) -> Self

Converts to this type from the input type.
source§

impl From<CreateNotificationSubscriptionError> for Error

source§

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

source§

fn from(err: DeactivateUserError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCommentError> for Error

source§

fn from(err: DeleteCommentError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCustomMetadataError> for Error

source§

fn from(err: DeleteCustomMetadataError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDocumentError> for Error

source§

fn from(err: DeleteDocumentError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDocumentVersionError> for Error

source§

fn from(err: DeleteDocumentVersionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFolderContentsError> for Error

source§

fn from(err: DeleteFolderContentsError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFolderError> for Error

source§

fn from(err: DeleteFolderError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLabelsError> for Error

source§

fn from(err: DeleteLabelsError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteNotificationSubscriptionError> for Error

source§

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

source§

fn from(err: DescribeActivitiesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCommentsError> for Error

source§

fn from(err: DescribeCommentsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDocumentVersionsError> for Error

source§

fn from(err: DescribeDocumentVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFolderContentsError> for Error

source§

fn from(err: DescribeFolderContentsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeGroupsError> for Error

source§

fn from(err: DescribeGroupsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeNotificationSubscriptionsError> for Error

source§

fn from(err: DescribeNotificationSubscriptionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeResourcePermissionsError> for Error

source§

fn from(err: DescribeResourcePermissionsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRootFoldersError> for Error

source§

fn from(err: DescribeRootFoldersError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUsersError> for Error

source§

fn from(err: DescribeUsersError) -> Self

Converts to this type from the input type.
source§

impl From<GetCurrentUserError> for Error

source§

fn from(err: GetCurrentUserError) -> Self

Converts to this type from the input type.
source§

impl From<GetDocumentError> for Error

source§

fn from(err: GetDocumentError) -> Self

Converts to this type from the input type.
source§

impl From<GetDocumentPathError> for Error

source§

fn from(err: GetDocumentPathError) -> Self

Converts to this type from the input type.
source§

impl From<GetDocumentVersionError> for Error

source§

fn from(err: GetDocumentVersionError) -> Self

Converts to this type from the input type.
source§

impl From<GetFolderError> for Error

source§

fn from(err: GetFolderError) -> Self

Converts to this type from the input type.
source§

impl From<GetFolderPathError> for Error

source§

fn from(err: GetFolderPathError) -> Self

Converts to this type from the input type.
source§

impl From<GetResourcesError> for Error

source§

fn from(err: GetResourcesError) -> Self

Converts to this type from the input type.
source§

impl From<InitiateDocumentVersionUploadError> for Error

source§

fn from(err: InitiateDocumentVersionUploadError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveAllResourcePermissionsError> for Error

source§

fn from(err: RemoveAllResourcePermissionsError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveResourcePermissionError> for Error

source§

fn from(err: RemoveResourcePermissionError) -> Self

Converts to this type from the input type.
source§

impl From<RestoreDocumentVersionsError> for Error

source§

fn from(err: RestoreDocumentVersionsError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<CreateNotificationSubscriptionError, 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<DeactivateUserError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<DeleteNotificationSubscriptionError, 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<DescribeActivitiesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<UpdateFolderError, 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 From<SearchResourcesError> for Error

source§

fn from(err: SearchResourcesError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDocumentError> for Error

source§

fn from(err: UpdateDocumentError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDocumentVersionError> for Error

source§

fn from(err: UpdateDocumentVersionError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFolderError> for Error

source§

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