pub trait Outcome {
// Required method
fn is_success(&self) -> bool;
}Expand description
Output that can report success/failure for logging.
Separate from Retryable because logging success != retry decision.
A successful response might still be retryable (e.g., partial results),
and a failed response might not be retryable (e.g., auth error).
Required Methods§
Sourcefn is_success(&self) -> bool
fn is_success(&self) -> bool
Returns true if the operation succeeded.