pub fn is_failure(&self) -> bool {
        match self {
            ExecutionResult::Failure { .. } => true,
            ExecutionResult::Success { .. } => false,
        }
    }
/// Returns `true` if this is a failure variant.
Returns `true` if this is a failure variant.
Returns ` true ` if this is a failure variant .
pub fn is_failure(&self) -> bool {
        match self {
            ExecutionResult::Failure { .. } => true,
            ExecutionResult::Success { .. } => false,
        }
    }
pub fn is_failure ( & self ) -> bool { match self { ExecutionResult :: Failure { .. } => true , ExecutionResult :: Success { .. } => false , } }
Returns `true` if this is a failure variant.
Returns ` true ` if this is a failure variant .
&self
&self