#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), ConflictException(ConflictException), InternalServiceError(InternalServiceError), InvalidNextTokenException(InvalidNextTokenException), InvalidRequestException(InvalidRequestException), ResourceExistsException(ResourceExistsException), ResourceNotFoundException(ResourceNotFoundException), ServiceUnavailableException(ServiceUnavailableException), ThrottlingException(ThrottlingException), 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 do not have sufficient access to perform this action.

§

ConflictException(ConflictException)

This exception is thrown when the UpdateServer is called for a file transfer protocol-enabled server that has VPC as the endpoint type and the server's VpcEndpointID is not in the available state.

§

InternalServiceError(InternalServiceError)

This exception is thrown when an error occurs in the Transfer Family service.

§

InvalidNextTokenException(InvalidNextTokenException)

The NextToken parameter that was passed is invalid.

§

InvalidRequestException(InvalidRequestException)

This exception is thrown when the client submits a malformed request.

§

ResourceExistsException(ResourceExistsException)

The requested resource does not exist, or exists in a region other than the one specified for the command.

§

ResourceNotFoundException(ResourceNotFoundException)

This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.

§

ServiceUnavailableException(ServiceUnavailableException)

The request has failed because the Amazon Web ServicesTransfer Family service is not available.

§

ThrottlingException(ThrottlingException)

The request was denied due to request throttling.

§

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

source§

fn from(err: CreateAccessError) -> Self

Converts to this type from the input type.
source§

impl From<CreateAgreementError> for Error

source§

fn from(err: CreateAgreementError) -> Self

Converts to this type from the input type.
source§

impl From<CreateConnectorError> for Error

source§

fn from(err: CreateConnectorError) -> Self

Converts to this type from the input type.
source§

impl From<CreateProfileError> for Error

source§

fn from(err: CreateProfileError) -> Self

Converts to this type from the input type.
source§

impl From<CreateServerError> for Error

source§

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

source§

fn from(err: CreateWorkflowError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAccessError> for Error

source§

fn from(err: DeleteAccessError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAgreementError> for Error

source§

fn from(err: DeleteAgreementError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCertificateError> for Error

source§

fn from(err: DeleteCertificateError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteConnectorError> for Error

source§

fn from(err: DeleteConnectorError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteHostKeyError> for Error

source§

fn from(err: DeleteHostKeyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteProfileError> for Error

source§

fn from(err: DeleteProfileError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteServerError> for Error

source§

fn from(err: DeleteServerError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSshPublicKeyError> for Error

source§

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

source§

fn from(err: DeleteWorkflowError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAccessError> for Error

source§

fn from(err: DescribeAccessError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeAgreementError> for Error

source§

fn from(err: DescribeAgreementError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeCertificateError> for Error

source§

fn from(err: DescribeCertificateError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeConnectorError> for Error

source§

fn from(err: DescribeConnectorError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeExecutionError> for Error

source§

fn from(err: DescribeExecutionError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeHostKeyError> for Error

source§

fn from(err: DescribeHostKeyError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeProfileError> for Error

source§

fn from(err: DescribeProfileError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeSecurityPolicyError> for Error

source§

fn from(err: DescribeSecurityPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeServerError> for Error

source§

fn from(err: DescribeServerError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeUserError> for Error

source§

fn from(err: DescribeUserError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeWorkflowError> for Error

source§

fn from(err: DescribeWorkflowError) -> Self

Converts to this type from the input type.
source§

impl From<ImportCertificateError> for Error

source§

fn from(err: ImportCertificateError) -> Self

Converts to this type from the input type.
source§

impl From<ImportHostKeyError> for Error

source§

fn from(err: ImportHostKeyError) -> Self

Converts to this type from the input type.
source§

impl From<ImportSshPublicKeyError> for Error

source§

fn from(err: ImportSshPublicKeyError) -> Self

Converts to this type from the input type.
source§

impl From<ListAccessesError> for Error

source§

fn from(err: ListAccessesError) -> Self

Converts to this type from the input type.
source§

impl From<ListAgreementsError> for Error

source§

fn from(err: ListAgreementsError) -> Self

Converts to this type from the input type.
source§

impl From<ListCertificatesError> for Error

source§

fn from(err: ListCertificatesError) -> Self

Converts to this type from the input type.
source§

impl From<ListConnectorsError> for Error

source§

fn from(err: ListConnectorsError) -> Self

Converts to this type from the input type.
source§

impl From<ListExecutionsError> for Error

source§

fn from(err: ListExecutionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListHostKeysError> for Error

source§

fn from(err: ListHostKeysError) -> Self

Converts to this type from the input type.
source§

impl From<ListProfilesError> for Error

source§

fn from(err: ListProfilesError) -> Self

Converts to this type from the input type.
source§

impl From<ListSecurityPoliciesError> for Error

source§

fn from(err: ListSecurityPoliciesError) -> Self

Converts to this type from the input type.
source§

impl From<ListServersError> for Error

source§

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

source§

fn from(err: ListUsersError) -> Self

Converts to this type from the input type.
source§

impl From<ListWorkflowsError> for Error

source§

fn from(err: ListWorkflowsError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<CreateServerError, 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<CreateWorkflowError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<DeleteSshPublicKeyError, 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<DeleteWorkflowError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<ListServersError, 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<ListUsersError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<StopServerError, 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<TestConnectionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<TestIdentityProviderError, 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<UpdateAccessError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<UpdateServerError, 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<SendWorkflowStepStateError> for Error

source§

fn from(err: SendWorkflowStepStateError) -> Self

Converts to this type from the input type.
source§

impl From<StartFileTransferError> for Error

source§

fn from(err: StartFileTransferError) -> Self

Converts to this type from the input type.
source§

impl From<StartServerError> for Error

source§

fn from(err: StartServerError) -> Self

Converts to this type from the input type.
source§

impl From<StopServerError> for Error

source§

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

source§

fn from(err: TestConnectionError) -> Self

Converts to this type from the input type.
source§

impl From<TestIdentityProviderError> for Error

source§

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

source§

fn from(err: UpdateAccessError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateAgreementError> for Error

source§

fn from(err: UpdateAgreementError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateCertificateError> for Error

source§

fn from(err: UpdateCertificateError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateConnectorError> for Error

source§

fn from(err: UpdateConnectorError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateHostKeyError> for Error

source§

fn from(err: UpdateHostKeyError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateProfileError> for Error

source§

fn from(err: UpdateProfileError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateServerError> for Error

source§

fn from(err: UpdateServerError) -> 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<Unshared, Shared> IntoShared<Shared> for Unsharedwhere 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 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