Struct odbc_api::RowSetCursor[][src]

pub struct RowSetCursor<C: Cursor, B> { /* fields omitted */ }

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]

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.

Trait Implementations

impl<C, B> Drop for RowSetCursor<C, B> where
    C: Cursor
[src]

Auto Trait Implementations

impl<C, B> RefUnwindSafe for RowSetCursor<C, B> where
    B: RefUnwindSafe,
    C: RefUnwindSafe

impl<C, B> Send for RowSetCursor<C, B> where
    B: Send,
    C: Send

impl<C, B> Sync for RowSetCursor<C, B> where
    B: Sync,
    C: Sync

impl<C, B> Unpin for RowSetCursor<C, B> where
    B: Unpin,
    C: Unpin

impl<C, B> UnwindSafe for RowSetCursor<C, B> where
    B: UnwindSafe,
    C: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.