Struct aws_sdk_datasync::types::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§
source§impl 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.
source§impl TaskExecutionResultDetail
impl TaskExecutionResultDetail
sourcepub fn builder() -> TaskExecutionResultDetailBuilder
pub fn builder() -> TaskExecutionResultDetailBuilder
Creates a new builder-style object to manufacture TaskExecutionResultDetail
.
Trait Implementations§
source§impl Clone for TaskExecutionResultDetail
impl Clone for TaskExecutionResultDetail
source§fn clone(&self) -> TaskExecutionResultDetail
fn clone(&self) -> TaskExecutionResultDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskExecutionResultDetail
impl Debug for TaskExecutionResultDetail
impl StructuralPartialEq for TaskExecutionResultDetail
Auto Trait Implementations§
impl Freeze for TaskExecutionResultDetail
impl RefUnwindSafe for TaskExecutionResultDetail
impl Send for TaskExecutionResultDetail
impl Sync for TaskExecutionResultDetail
impl Unpin for TaskExecutionResultDetail
impl UnwindSafe for TaskExecutionResultDetail
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more