[][src]Struct odbc_api::RowSetCursor

pub struct RowSetCursor<'b, C, 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<'b, C, B> RowSetCursor<'b, 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.

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<'b, C, B> RefUnwindSafe for RowSetCursor<'b, C, B> where
    B: RefUnwindSafe,
    C: RefUnwindSafe

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

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

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

impl<'b, C, B> !UnwindSafe for RowSetCursor<'b, C, B>

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.