Struct odbc_api::CursorRow[][src]

pub struct CursorRow<'c, S: ?Sized> { /* fields omitted */ }

An individual row of an result set. See crate::Cursor::next_row.

Implementations

impl<'c, S> CursorRow<'c, S> where
    S: Statement
[src]

pub fn get_data(
    &mut self,
    col_or_param_num: u16,
    target: &mut impl Output
) -> Result<(), Error>
[src]

Fills a suitable taregt buffer with a field from the current row of the result set. This method drains the data from the field. It can be called repeatedly to if not all the data fit in the output buffer at once. It should not called repeatedly to fetch the same value twice. Column index starts at 1.

pub fn get_text(
    &mut self,
    col_or_param_num: u16,
    buf: &mut Vec<u8>
) -> Result<(), Error>
[src]

Retrieves arbitrary large character data from the row and stores it in the buffer. Column index starts at 1.

Auto Trait Implementations

impl<'c, S: ?Sized> RefUnwindSafe for CursorRow<'c, S> where
    S: RefUnwindSafe

impl<'c, S: ?Sized> Send for CursorRow<'c, S> where
    S: Send

impl<'c, S: ?Sized> Sync for CursorRow<'c, S> where
    S: Sync

impl<'c, S: ?Sized> Unpin for CursorRow<'c, S>

impl<'c, S> !UnwindSafe for CursorRow<'c, S>

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.