[][src]Struct odbc::Cursor

pub struct Cursor<'s, 'a: 's, 'b: 's, S: 's, AC: AutocommitMode> { /* fields omitted */ }

Used to retrieve data from the fields of a query result

Methods

impl<'a, 'b, 'c, S, AC: AutocommitMode> Cursor<'a, 'b, 'c, S, AC>[src]

pub fn get_data<'d, T>(&'d mut self, col_or_param_num: u16) -> Result<Option<T>> where
    T: Output<'d>, 
[src]

Retrieves data for a single column in the result set

Panics

If you try to convert to &str but the data can't be converted without allocating an intermediate buffer.

Auto Trait Implementations

impl<'s, 'a, 'b, S, AC> !Send for Cursor<'s, 'a, 'b, S, AC>

impl<'s, 'a, 'b, S, AC> !Sync for Cursor<'s, 'a, 'b, S, AC>

impl<'s, 'a, 'b, S, AC> Unpin for Cursor<'s, 'a, 'b, S, AC> where
    'a: 's,
    'b: 's, 

impl<'s, 'a, 'b, S, AC> !UnwindSafe for Cursor<'s, 'a, 'b, S, AC>

impl<'s, 'a, 'b, S, AC> RefUnwindSafe for Cursor<'s, 'a, 'b, S, AC> where
    AC: RefUnwindSafe,
    S: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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