Struct aws_sdk_emr::types::FailureDetails
source · #[non_exhaustive]pub struct FailureDetails {
pub reason: Option<String>,
pub message: Option<String>,
pub log_file: Option<String>,
}
Expand description
The details of the step failure. The service attempts to detect the root cause for many common failures.
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.reason: Option<String>
The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.
message: Option<String>
The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.
log_file: Option<String>
The path to the log file where the step failure root cause was originally recorded.
Implementations§
source§impl FailureDetails
impl FailureDetails
sourcepub fn reason(&self) -> Option<&str>
pub fn reason(&self) -> Option<&str>
The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.
source§impl FailureDetails
impl FailureDetails
sourcepub fn builder() -> FailureDetailsBuilder
pub fn builder() -> FailureDetailsBuilder
Creates a new builder-style object to manufacture FailureDetails
.
Trait Implementations§
source§impl Clone for FailureDetails
impl Clone for FailureDetails
source§fn clone(&self) -> FailureDetails
fn clone(&self) -> FailureDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FailureDetails
impl Debug for FailureDetails
source§impl PartialEq for FailureDetails
impl PartialEq for FailureDetails
impl StructuralPartialEq for FailureDetails
Auto Trait Implementations§
impl Freeze for FailureDetails
impl RefUnwindSafe for FailureDetails
impl Send for FailureDetails
impl Sync for FailureDetails
impl Unpin for FailureDetails
impl UnwindSafe for FailureDetails
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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