Enum odbc::ResultSetState

source ·
pub enum ResultSetState<'a, 'b, S> {
    Data(Statement<'a, 'b, S, HasResult>),
    NoData(Statement<'a, 'b, S, NoResult>),
}
Expand description

Holds a Statement after execution of a query.Allocated

A executed statement may be in one of two states. Either the statement has yielded a result set or not. Keep in mind that some ODBC drivers just yield empty result sets on e.g. INSERT Statements

Variants

Data(Statement<'a, 'b, S, HasResult>)

NoData(Statement<'a, 'b, S, NoResult>)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.