Module odbc_api::buffers[][src]

This module contains buffers intended to be bound to ODBC statement handles.

Structs

BinColumnIt

Iterator over a binary column. See crate::buffers::AnyColumnView

BinColumnWriter

Fills a binary column buffer with elements from an Iterator. See crate::buffers::AnyColumnViewMut

BufferDescription

Used to describe a column of a crate::buffers::ColumnarRowSet.

ColumnarRowSet

A columnar buffer intended to be bound with crate::Cursor::bind_buffer in order to obtain results from a cursor.

OptIt

Iterates over the elements of a column buffer. Returned by crate::buffers::ColumnarRowSet::column as part of an crate::buffers::AnyColumnView.

OptWriter

Used to fill a column buffer with an iterator. Returned by crate::buffers::ColumnarRowSet::column_mut as part of an crate::buffers::AnyColumnViewMut.

TextColumn

A buffer intended to be bound to a column of a cursor. Elements of the buffer will contain a variable amount of characters up to a maximum string length. Since most SQL types have a string representation this buffer can be bound to a column of almost any type, ODBC driver and driver manager should take care of the conversion. Since elements of this type have variable length an indicator buffer needs to be bound, whether the column is nullable or not, and therefore does not matter for this buffer.

TextColumnIt

Iterator over a text column. See TextColumn::iter

TextColumnWriter

Fills a text column buffer with elements from an Iterator.

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.

Enums

AnyColumnView

A borrowed view on the valid rows in a column of a crate::buffers::ColumnarRowSet.

AnyColumnViewMut

A mutable borrowed view on the valid rows in a column of a crate::buffers::ColumnarRowSet.

BufferKind

This class is used together with crate::buffers::BufferDescription to specify the layout of buffers bound to ODBC cursors and statements.