#[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)

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<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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 Errorwhere 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 RequestId for Error

source§

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

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere 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 Twhere 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 Twhere 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