Struct aws_sdk_datasync::model::TaskExecutionResultDetail
source · [−]#[non_exhaustive]pub struct TaskExecutionResultDetail {
pub prepare_duration: Option<i64>,
pub prepare_status: Option<PhaseStatus>,
pub total_duration: Option<i64>,
pub transfer_duration: Option<i64>,
pub transfer_status: Option<PhaseStatus>,
pub verify_duration: Option<i64>,
pub verify_status: Option<PhaseStatus>,
pub error_code: Option<String>,
pub error_detail: Option<String>,
}
Expand description
Describes the detailed result of a TaskExecution
operation. This result includes the time in milliseconds spent in each phase, the status of the task execution, and the errors encountered.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.prepare_duration: Option<i64>
The total time in milliseconds that DataSync spent in the PREPARING phase.
prepare_status: Option<PhaseStatus>
The status of the PREPARING phase.
total_duration: Option<i64>
The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
transfer_duration: Option<i64>
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
transfer_status: Option<PhaseStatus>
The status of the TRANSFERRING phase.
verify_duration: Option<i64>
The total time in milliseconds that DataSync spent in the VERIFYING phase.
verify_status: Option<PhaseStatus>
The status of the VERIFYING phase.
error_code: Option<String>
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
error_detail: Option<String>
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
Implementations
sourceimpl TaskExecutionResultDetail
impl TaskExecutionResultDetail
sourcepub fn prepare_duration(&self) -> Option<i64>
pub fn prepare_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the PREPARING phase.
sourcepub fn prepare_status(&self) -> Option<&PhaseStatus>
pub fn prepare_status(&self) -> Option<&PhaseStatus>
The status of the PREPARING phase.
sourcepub fn total_duration(&self) -> Option<i64>
pub fn total_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync took to transfer the file from the source to the destination location.
sourcepub fn transfer_duration(&self) -> Option<i64>
pub fn transfer_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the TRANSFERRING phase.
sourcepub fn transfer_status(&self) -> Option<&PhaseStatus>
pub fn transfer_status(&self) -> Option<&PhaseStatus>
The status of the TRANSFERRING phase.
sourcepub fn verify_duration(&self) -> Option<i64>
pub fn verify_duration(&self) -> Option<i64>
The total time in milliseconds that DataSync spent in the VERIFYING phase.
sourcepub fn verify_status(&self) -> Option<&PhaseStatus>
pub fn verify_status(&self) -> Option<&PhaseStatus>
The status of the VERIFYING phase.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
sourcepub fn error_detail(&self) -> Option<&str>
pub fn error_detail(&self) -> Option<&str>
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
sourceimpl TaskExecutionResultDetail
impl TaskExecutionResultDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TaskExecutionResultDetail
Trait Implementations
sourceimpl Clone for TaskExecutionResultDetail
impl Clone for TaskExecutionResultDetail
sourcefn clone(&self) -> TaskExecutionResultDetail
fn clone(&self) -> TaskExecutionResultDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TaskExecutionResultDetail
impl Debug for TaskExecutionResultDetail
sourceimpl PartialEq<TaskExecutionResultDetail> for TaskExecutionResultDetail
impl PartialEq<TaskExecutionResultDetail> for TaskExecutionResultDetail
sourcefn eq(&self, other: &TaskExecutionResultDetail) -> bool
fn eq(&self, other: &TaskExecutionResultDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TaskExecutionResultDetail) -> bool
fn ne(&self, other: &TaskExecutionResultDetail) -> bool
This method tests for !=
.
impl StructuralPartialEq for TaskExecutionResultDetail
Auto Trait Implementations
impl RefUnwindSafe for TaskExecutionResultDetail
impl Send for TaskExecutionResultDetail
impl Sync for TaskExecutionResultDetail
impl Unpin for TaskExecutionResultDetail
impl UnwindSafe for TaskExecutionResultDetail
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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