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
impl<'a, 'b, S> RefUnwindSafe for ResultSetState<'a, 'b, S>where
S: RefUnwindSafe,
impl<'a, 'b, S> !Send for ResultSetState<'a, 'b, S>
impl<'a, 'b, S> !Sync for ResultSetState<'a, 'b, S>
impl<'a, 'b, S> Unpin for ResultSetState<'a, 'b, S>where
S: Unpin,
impl<'a, 'b, S> UnwindSafe for ResultSetState<'a, 'b, S>where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more