Skip to main content

BatchOutcome

Type Alias BatchOutcome 

Source
pub type BatchOutcome = Result<SendOutcome, MailerError>;
Expand description

Per-message outcome for a batch send: success with an id, or failure with a classified error. The index in the returned vector lines up 1:1 with the index in the input vector, so callers can correlate partial failures.

Aliased Type§

pub enum BatchOutcome {
    Ok(SendOutcome),
    Err(MailerError),
}

Variants§

§1.0.0

Ok(SendOutcome)

Contains the success value

§1.0.0

Err(MailerError)

Contains the error value