Struct aws_sdk_datasync::model::TaskExecutionResultDetail
source · [−]#[non_exhaustive]pub struct TaskExecutionResultDetail { /* private fields */ }
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.
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> 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