[−][src]Struct odbc_api::buffers::TextRowSet
This row set binds a string buffer to each column, which is large enough to hold the maximum length string representation for each element in the row set at once.
Implementations
impl TextRowSet
[src]
pub fn new(
batch_size: UInteger,
cursor: &Cursor<'_>
) -> Result<TextRowSet, Error>
[src]
batch_size: UInteger,
cursor: &Cursor<'_>
) -> Result<TextRowSet, Error>
Use cursor
to query the display size for each column of the row set and allocates the
buffers accordingly.
pub fn at(&self, col_index: usize, row_index: usize) -> Option<&[u8]>
[src]
Access the element at the specified position in the row set.
pub fn at_as_str(
&self,
col_index: usize,
row_index: usize
) -> Result<Option<&str>, Utf8Error>
[src]
&self,
col_index: usize,
row_index: usize
) -> Result<Option<&str>, Utf8Error>
Access the element at the specified position in the row set.
pub fn num_cols(&self) -> usize
[src]
Return the number of columns in the row set.
pub fn num_rows(&self) -> usize
[src]
Return the number of rows in the row set.
Trait Implementations
impl RowSetBuffer for TextRowSet
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextRowSet
impl Send for TextRowSet
impl Sync for TextRowSet
impl Unpin for TextRowSet
impl UnwindSafe for TextRowSet
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,
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.
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>,