Type Alias sendgrid::error::SendgridResult

source ·
pub type SendgridResult<T> = Result<T, SendgridError>;
Expand description

A type alias used throughout the library for concise error notation.

Aliased Type§

enum SendgridResult<T> {
    Ok(T),
    Err(SendgridError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(SendgridError)

Contains the error value