Struct odbc_api::CursorRow [−][src]
An individual row of an result set. See crate::Cursor::next_row
.
Implementations
impl<'c, S> CursorRow<'c, S> where
S: Statement,
[src]
S: Statement,
pub fn get_data(
&mut self,
col_or_param_num: u16,
target: &mut impl Output
) -> Result<(), Error>
[src]
&mut self,
col_or_param_num: u16,
target: &mut impl Output
) -> Result<(), Error>
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]
&mut self,
col_or_param_num: u16,
buf: &mut Vec<u8>
) -> Result<(), Error>
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,
S: RefUnwindSafe,
impl<'c, S: ?Sized> Send for CursorRow<'c, S> where
S: Send,
S: Send,
impl<'c, S: ?Sized> Sync for CursorRow<'c, S> where
S: Sync,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,