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
source§fn eq(&self, other: &FailureDetails) -> bool
fn eq(&self, other: &FailureDetails) -> bool
self
and other
values to be equal, and is used
by ==
.