Enum aws_sdk_datasync::Error
source · [−]#[non_exhaustive]
pub enum Error {
InternalException(InternalException),
InvalidRequestException(InvalidRequestException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InternalException(InternalException)
This exception is thrown when an error occurs in the DataSync service.
InvalidRequestException(InvalidRequestException)
This exception is thrown when the client submits a malformed request.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<CancelTaskExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CancelTaskExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CancelTaskExecutionError, R>) -> Self
fn from(err: SdkError<CancelTaskExecutionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateAgentError, R>) -> Self
fn from(err: SdkError<CreateAgentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateLocationEfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLocationEfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLocationEfsError, R>) -> Self
fn from(err: SdkError<CreateLocationEfsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateLocationFsxLustreError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLocationFsxLustreError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLocationFsxLustreError, R>) -> Self
fn from(err: SdkError<CreateLocationFsxLustreError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateLocationFsxWindowsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLocationFsxWindowsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLocationFsxWindowsError, R>) -> Self
fn from(err: SdkError<CreateLocationFsxWindowsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateLocationHdfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLocationHdfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLocationHdfsError, R>) -> Self
fn from(err: SdkError<CreateLocationHdfsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateLocationNfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLocationNfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLocationNfsError, R>) -> Self
fn from(err: SdkError<CreateLocationNfsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateLocationObjectStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLocationObjectStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLocationObjectStorageError, R>) -> Self
fn from(err: SdkError<CreateLocationObjectStorageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateLocationS3Error, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLocationS3Error, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLocationS3Error, R>) -> Self
fn from(err: SdkError<CreateLocationS3Error, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateLocationSmbError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLocationSmbError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLocationSmbError, R>) -> Self
fn from(err: SdkError<CreateLocationSmbError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateTaskError, R>) -> Self
fn from(err: SdkError<CreateTaskError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAgentError, R>) -> Self
fn from(err: SdkError<DeleteAgentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteLocationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteLocationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteLocationError, R>) -> Self
fn from(err: SdkError<DeleteLocationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteTaskError, R>) -> Self
fn from(err: SdkError<DeleteTaskError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAgentError, R>) -> Self
fn from(err: SdkError<DescribeAgentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLocationEfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLocationEfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLocationEfsError, R>) -> Self
fn from(err: SdkError<DescribeLocationEfsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLocationFsxLustreError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLocationFsxLustreError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLocationFsxLustreError, R>) -> Self
fn from(err: SdkError<DescribeLocationFsxLustreError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLocationFsxWindowsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLocationFsxWindowsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLocationFsxWindowsError, R>) -> Self
fn from(err: SdkError<DescribeLocationFsxWindowsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLocationHdfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLocationHdfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLocationHdfsError, R>) -> Self
fn from(err: SdkError<DescribeLocationHdfsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLocationNfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLocationNfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLocationNfsError, R>) -> Self
fn from(err: SdkError<DescribeLocationNfsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLocationObjectStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLocationObjectStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLocationObjectStorageError, R>) -> Self
fn from(err: SdkError<DescribeLocationObjectStorageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLocationS3Error, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLocationS3Error, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLocationS3Error, R>) -> Self
fn from(err: SdkError<DescribeLocationS3Error, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeLocationSmbError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLocationSmbError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLocationSmbError, R>) -> Self
fn from(err: SdkError<DescribeLocationSmbError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTaskError, R>) -> Self
fn from(err: SdkError<DescribeTaskError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeTaskExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeTaskExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeTaskExecutionError, R>) -> Self
fn from(err: SdkError<DescribeTaskExecutionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListAgentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAgentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListAgentsError, R>) -> Self
fn from(err: SdkError<ListAgentsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListLocationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListLocationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListLocationsError, R>) -> Self
fn from(err: SdkError<ListLocationsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListTaskExecutionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTaskExecutionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTaskExecutionsError, R>) -> Self
fn from(err: SdkError<ListTaskExecutionsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListTasksError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTasksError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTasksError, R>) -> Self
fn from(err: SdkError<ListTasksError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartTaskExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartTaskExecutionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartTaskExecutionError, R>) -> Self
fn from(err: SdkError<StartTaskExecutionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateAgentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateAgentError, R>) -> Self
fn from(err: SdkError<UpdateAgentError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateLocationHdfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateLocationHdfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateLocationHdfsError, R>) -> Self
fn from(err: SdkError<UpdateLocationHdfsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateLocationNfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateLocationNfsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateLocationNfsError, R>) -> Self
fn from(err: SdkError<UpdateLocationNfsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateLocationObjectStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateLocationObjectStorageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateLocationObjectStorageError, R>) -> Self
fn from(err: SdkError<UpdateLocationObjectStorageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateLocationSmbError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateLocationSmbError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateLocationSmbError, R>) -> Self
fn from(err: SdkError<UpdateLocationSmbError, R>) -> Self
Performs the conversion.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more