[][src]Struct odbc_api::RowSetCursor

pub struct RowSetCursor<'b, 'o, B> { /* fields omitted */ }

A row set cursor iterates blockwise over row sets, filling them in buffers, instead of iterating the result set row by row.

Implementations

impl<'b, 'o, B> RowSetCursor<'b, 'o, B>[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<Cursor<'o>, Error>[src]

Unbind the buffer, leaving the cursor free to bind another buffer to it.

Auto Trait Implementations

impl<'b, 'o, B> RefUnwindSafe for RowSetCursor<'b, 'o, B> where
    B: RefUnwindSafe

impl<'b, 'o, B> !Send for RowSetCursor<'b, 'o, B>

impl<'b, 'o, B> !Sync for RowSetCursor<'b, 'o, B>

impl<'b, 'o, B> Unpin for RowSetCursor<'b, 'o, B>

impl<'b, 'o, B> !UnwindSafe for RowSetCursor<'b, 'o, 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.