[−][src]Struct odbc_api::RowSetCursor
A row set cursor iterates in blocks over row sets, filling them in buffers, instead of iterating the result set row by row. This is usually much faster.
Implementations
impl<C, B> RowSetCursor<C, B> where
C: Cursor,
[src]
C: Cursor,
pub fn fetch(&mut self) -> Result<Option<&B>, Error>
[src]
Fills the bound buffer with the next row set.
Return
None
if the result set is empty and all row sets have been extracted. Some
with a
reference to the internal buffer otherwise.
pub fn unbind(self) -> Result<C, Error>
[src]
Unbind the buffer, leaving the cursor free to bind another buffer to it.
Auto Trait Implementations
impl<C, B> RefUnwindSafe for RowSetCursor<C, B> where
B: RefUnwindSafe,
C: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<C, B> Send for RowSetCursor<C, B> where
B: Send,
C: Send,
B: Send,
C: Send,
impl<C, B> Sync for RowSetCursor<C, B> where
B: Sync,
C: Sync,
B: Sync,
C: Sync,
impl<C, B> Unpin for RowSetCursor<C, B> where
B: Unpin,
C: Unpin,
B: Unpin,
C: Unpin,
impl<C, B> UnwindSafe for RowSetCursor<C, B> where
B: UnwindSafe,
C: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,