Enum aws_sdk_fsx::Error

source ·
#[non_exhaustive]
pub enum Error {
Show 36 variants ActiveDirectoryError(ActiveDirectoryError), BackupBeingCopied(BackupBeingCopied), BackupInProgress(BackupInProgress), BackupNotFound(BackupNotFound), BackupRestoring(BackupRestoring), BadRequest(BadRequest), DataRepositoryAssociationNotFound(DataRepositoryAssociationNotFound), DataRepositoryTaskEnded(DataRepositoryTaskEnded), DataRepositoryTaskExecuting(DataRepositoryTaskExecuting), DataRepositoryTaskNotFound(DataRepositoryTaskNotFound), FileCacheNotFound(FileCacheNotFound), FileSystemNotFound(FileSystemNotFound), IncompatibleParameterError(IncompatibleParameterError), IncompatibleRegionForMultiAz(IncompatibleRegionForMultiAz), InternalServerError(InternalServerError), InvalidDataRepositoryType(InvalidDataRepositoryType), InvalidDestinationKmsKey(InvalidDestinationKmsKey), InvalidExportPath(InvalidExportPath), InvalidImportPath(InvalidImportPath), InvalidNetworkSettings(InvalidNetworkSettings), InvalidPerUnitStorageThroughput(InvalidPerUnitStorageThroughput), InvalidRegion(InvalidRegion), InvalidSourceKmsKey(InvalidSourceKmsKey), MissingFileCacheConfiguration(MissingFileCacheConfiguration), MissingFileSystemConfiguration(MissingFileSystemConfiguration), MissingVolumeConfiguration(MissingVolumeConfiguration), NotServiceResourceError(NotServiceResourceError), ResourceDoesNotSupportTagging(ResourceDoesNotSupportTagging), ResourceNotFound(ResourceNotFound), ServiceLimitExceeded(ServiceLimitExceeded), SnapshotNotFound(SnapshotNotFound), SourceBackupUnavailable(SourceBackupUnavailable), StorageVirtualMachineNotFound(StorageVirtualMachineNotFound), UnsupportedOperation(UnsupportedOperation), VolumeNotFound(VolumeNotFound), 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.
§

ActiveDirectoryError(ActiveDirectoryError)

An Active Directory error.

§

BackupBeingCopied(BackupBeingCopied)

You can't delete a backup while it's being copied.

§

BackupInProgress(BackupInProgress)

Another backup is already under way. Wait for completion before initiating additional backups of this file system.

§

BackupNotFound(BackupNotFound)

No Amazon FSx backups were found based upon the supplied parameters.

§

BackupRestoring(BackupRestoring)

You can't delete a backup while it's being used to restore a file system.

§

BadRequest(BadRequest)

A generic error indicating a failure with a client request.

§

DataRepositoryAssociationNotFound(DataRepositoryAssociationNotFound)

No data repository associations were found based upon the supplied parameters.

§

DataRepositoryTaskEnded(DataRepositoryTaskEnded)

The data repository task could not be canceled because the task has already ended.

§

DataRepositoryTaskExecuting(DataRepositoryTaskExecuting)

An existing data repository task is currently executing on the file system. Wait until the existing task has completed, then create the new task.

§

DataRepositoryTaskNotFound(DataRepositoryTaskNotFound)

The data repository task or tasks you specified could not be found.

§

FileCacheNotFound(FileCacheNotFound)

No caches were found based upon supplied parameters.

§

FileSystemNotFound(FileSystemNotFound)

No Amazon FSx file systems were found based upon supplied parameters.

§

IncompatibleParameterError(IncompatibleParameterError)

The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.

§

IncompatibleRegionForMultiAz(IncompatibleRegionForMultiAz)

Amazon FSx doesn't support Multi-AZ Windows File Server copy backup in the destination Region, so the copied backup can't be restored.

§

InternalServerError(InternalServerError)

A generic error indicating a server-side failure.

§

InvalidDataRepositoryType(InvalidDataRepositoryType)

You have filtered the response to a data repository type that is not supported.

§

InvalidDestinationKmsKey(InvalidDestinationKmsKey)

The Key Management Service (KMS) key of the destination backup is not valid.

§

InvalidExportPath(InvalidExportPath)

The path provided for data repository export isn't valid.

§

InvalidImportPath(InvalidImportPath)

The path provided for data repository import isn't valid.

§

InvalidNetworkSettings(InvalidNetworkSettings)

One or more network settings specified in the request are invalid.

§

InvalidPerUnitStorageThroughput(InvalidPerUnitStorageThroughput)

An invalid value for PerUnitStorageThroughput was provided. Please create your file system again, using a valid value.

§

InvalidRegion(InvalidRegion)

The Region provided for SourceRegion is not valid or is in a different Amazon Web Services partition.

§

InvalidSourceKmsKey(InvalidSourceKmsKey)

The Key Management Service (KMS) key of the source backup is not valid.

§

MissingFileCacheConfiguration(MissingFileCacheConfiguration)

A cache configuration is required for this operation.

§

MissingFileSystemConfiguration(MissingFileSystemConfiguration)

A file system configuration is required for this operation.

§

MissingVolumeConfiguration(MissingVolumeConfiguration)

A volume configuration is required for this operation.

§

NotServiceResourceError(NotServiceResourceError)

The resource specified for the tagging operation is not a resource type owned by Amazon FSx. Use the API of the relevant service to perform the operation.

§

ResourceDoesNotSupportTagging(ResourceDoesNotSupportTagging)

The resource specified does not support tagging.

§

ResourceNotFound(ResourceNotFound)

The resource specified by the Amazon Resource Name (ARN) can't be found.

§

ServiceLimitExceeded(ServiceLimitExceeded)

An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.

§

SnapshotNotFound(SnapshotNotFound)

No Amazon FSx snapshots were found based on the supplied parameters.

§

SourceBackupUnavailable(SourceBackupUnavailable)

The request was rejected because the lifecycle status of the source backup isn't AVAILABLE.

§

StorageVirtualMachineNotFound(StorageVirtualMachineNotFound)

No FSx for ONTAP SVMs were found based upon the supplied parameters.

§

UnsupportedOperation(UnsupportedOperation)

The requested operation is not supported for this resource or API.

§

VolumeNotFound(VolumeNotFound)

No Amazon FSx volumes were found based upon the supplied parameters.

§

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

source§

fn from(err: AssociateFileSystemAliasesError) -> Self

Converts to this type from the input type.
source§

impl From<CancelDataRepositoryTaskError> for Error

source§

fn from(err: CancelDataRepositoryTaskError) -> Self

Converts to this type from the input type.
source§

impl From<CopyBackupError> for Error

source§

fn from(err: CopyBackupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateBackupError> for Error

source§

fn from(err: CreateBackupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDataRepositoryAssociationError> for Error

source§

fn from(err: CreateDataRepositoryAssociationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDataRepositoryTaskError> for Error

source§

fn from(err: CreateDataRepositoryTaskError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFileCacheError> for Error

source§

fn from(err: CreateFileCacheError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFileSystemError> for Error

source§

fn from(err: CreateFileSystemError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFileSystemFromBackupError> for Error

source§

fn from(err: CreateFileSystemFromBackupError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSnapshotError> for Error

source§

fn from(err: CreateSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<CreateStorageVirtualMachineError> for Error

source§

fn from(err: CreateStorageVirtualMachineError) -> Self

Converts to this type from the input type.
source§

impl From<CreateVolumeError> for Error

source§

fn from(err: CreateVolumeError) -> Self

Converts to this type from the input type.
source§

impl From<CreateVolumeFromBackupError> for Error

source§

fn from(err: CreateVolumeFromBackupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteBackupError> for Error

source§

fn from(err: DeleteBackupError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDataRepositoryAssociationError> for Error

source§

fn from(err: DeleteDataRepositoryAssociationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFileCacheError> for Error

source§

fn from(err: DeleteFileCacheError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFileSystemError> for Error

source§

fn from(err: DeleteFileSystemError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSnapshotError> for Error

source§

fn from(err: DeleteSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteStorageVirtualMachineError> for Error

source§

fn from(err: DeleteStorageVirtualMachineError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteVolumeError> for Error

source§

fn from(err: DeleteVolumeError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeBackupsError> for Error

source§

fn from(err: DescribeBackupsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDataRepositoryAssociationsError> for Error

source§

fn from(err: DescribeDataRepositoryAssociationsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDataRepositoryTasksError> for Error

source§

fn from(err: DescribeDataRepositoryTasksError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFileCachesError> for Error

source§

fn from(err: DescribeFileCachesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFileSystemAliasesError> for Error

source§

fn from(err: DescribeFileSystemAliasesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeFileSystemsError> for Error

source§

fn from(err: DescribeFileSystemsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeSnapshotsError> for Error

source§

fn from(err: DescribeSnapshotsError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeStorageVirtualMachinesError> for Error

source§

fn from(err: DescribeStorageVirtualMachinesError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeVolumesError> for Error

source§

fn from(err: DescribeVolumesError) -> Self

Converts to this type from the input type.
source§

impl From<DisassociateFileSystemAliasesError> for Error

source§

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

source§

fn from(err: ReleaseFileSystemNfsV3LocksError) -> Self

Converts to this type from the input type.
source§

impl From<RestoreVolumeFromSnapshotError> for Error

source§

fn from(err: RestoreVolumeFromSnapshotError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AssociateFileSystemAliasesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CancelDataRepositoryTaskError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CopyBackupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateBackupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateDataRepositoryAssociationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateDataRepositoryTaskError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateFileCacheError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateFileSystemError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateFileSystemFromBackupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateStorageVirtualMachineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateVolumeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateVolumeFromBackupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteBackupError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteDataRepositoryAssociationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFileCacheError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFileSystemError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteStorageVirtualMachineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteVolumeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeBackupsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeDataRepositoryAssociationsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeDataRepositoryTasksError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeFileCachesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeFileSystemAliasesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeFileSystemsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeSnapshotsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeStorageVirtualMachinesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeVolumesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DisassociateFileSystemAliasesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<RestoreVolumeFromSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Errorwhere 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 Errorwhere 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<UpdateDataRepositoryAssociationError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateFileCacheError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateFileSystemError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateSnapshotError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateStorageVirtualMachineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateVolumeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateVolumeError, R>) -> 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<UpdateDataRepositoryAssociationError> for Error

source§

fn from(err: UpdateDataRepositoryAssociationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFileCacheError> for Error

source§

fn from(err: UpdateFileCacheError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFileSystemError> for Error

source§

fn from(err: UpdateFileSystemError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateSnapshotError> for Error

source§

fn from(err: UpdateSnapshotError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateStorageVirtualMachineError> for Error

source§

fn from(err: UpdateStorageVirtualMachineError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateVolumeError> for Error

source§

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