QueryResult

Type Alias QueryResult 

Source
pub type QueryResult<S> = Result<QueryData<S>, QueryError>;
Expand description

The result of a query – either an error or a table.

Aliased Type§

pub enum QueryResult<S> {
    Ok(QueryData<S>),
    Err(QueryError),
}

Variants§

§1.0.0

Ok(QueryData<S>)

Contains the success value

§1.0.0

Err(QueryError)

Contains the error value