[−][src]Struct odbc_api::CursorImpl
Cursors are used to process and iterate the result sets returned by executing queries. Created
by either a prepared query or direct execution. Usually utilized through the Cursor
trait.
Trait Implementations
impl<'o, S> Cursor for CursorImpl<'o, S> where
S: BorrowMut<Statement<'o>>,
[src]
S: BorrowMut<Statement<'o>>,
pub fn describe_col(
&self,
column_number: u16,
column_description: &mut ColumnDescription
) -> Result<(), Error>
[src]
&self,
column_number: u16,
column_description: &mut ColumnDescription
) -> Result<(), Error>
pub fn num_result_cols(&self) -> Result<i16, Error>
[src]
pub unsafe fn fetch(&mut self) -> Result<bool, Error>
[src]
pub fn unbind_cols(&mut self) -> Result<(), Error>
[src]
pub unsafe fn bind_col(
&mut self,
column_number: u16,
target: &mut impl CDataMut
) -> Result<(), Error>
[src]
&mut self,
column_number: u16,
target: &mut impl CDataMut
) -> Result<(), Error>
pub fn is_unsigned_column(&self, column_number: u16) -> Result<bool, Error>
[src]
pub fn bind_buffer<B>(
self,
row_set_buffer: B
) -> Result<RowSetCursor<Self, B>, Error> where
B: RowSetBuffer,
[src]
self,
row_set_buffer: B
) -> Result<RowSetCursor<Self, B>, Error> where
B: RowSetBuffer,
pub fn col_data_type(&self, column_number: u16) -> Result<DataType, Error>
[src]
pub fn col_octet_length(&self, column_number: u16) -> Result<isize, Error>
[src]
pub fn col_display_size(&self, column_number: u16) -> Result<isize, Error>
[src]
pub fn col_precision(&self, column_number: u16) -> Result<isize, Error>
[src]
pub fn col_scale(&self, column_number: u16) -> Result<isize, Error>
[src]
pub fn col_name(
&self,
column_number: u16,
buf: &mut Vec<u16>
) -> Result<(), Error>
[src]
&self,
column_number: u16,
buf: &mut Vec<u16>
) -> Result<(), Error>
pub fn column_names(&self) -> Result<ColumnNamesIt<'_, Self>, Error>
[src]
pub fn application_row_descriptor(&self) -> Result<Description<'_>, Error>
[src]
impl<'o, S> Drop for CursorImpl<'o, S> where
S: BorrowMut<Statement<'o>>,
[src]
S: BorrowMut<Statement<'o>>,
Auto Trait Implementations
impl<'open_connection, Stmt> RefUnwindSafe for CursorImpl<'open_connection, Stmt> where
Stmt: RefUnwindSafe,
[src]
Stmt: RefUnwindSafe,
impl<'open_connection, Stmt> !Send for CursorImpl<'open_connection, Stmt>
[src]
impl<'open_connection, Stmt> !Sync for CursorImpl<'open_connection, Stmt>
[src]
impl<'open_connection, Stmt> Unpin for CursorImpl<'open_connection, Stmt> where
Stmt: Unpin,
[src]
Stmt: Unpin,
impl<'open_connection, Stmt> UnwindSafe for CursorImpl<'open_connection, Stmt> where
Stmt: UnwindSafe,
[src]
Stmt: UnwindSafe,
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>,