Type Alias PGResult

Source
pub type PGResult<T> = Result<T, PGError>;
Expand description

Shorthand for Result with tokio_postgres::Error

Aliased Type§

pub enum PGResult<T> {
    Ok(T),
    Err(PGError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(PGError)

Contains the error value