PgResult

Type Alias PgResult 

Source
pub type PgResult<T> = Result<T, PgError>;
Expand description

Result type for PostgreSQL operations.

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