[][src]Trait odbc_api::RowSetBuffer

pub unsafe trait RowSetBuffer {
    pub unsafe fn bind_to_cursor(
        &mut self,
        cursor: &mut impl Cursor
    ) -> Result<(), Error>; }

A Row set buffer binds row, or column wise buffers to a cursor in order to fill them with row sets with each call to fetch.

Safety

Implementers of this trait must ensure that every pointer bound in bind_to_cursor stays valid even if an instance is moved in memory. Bound members should therefore be likely references themselves. To bind stack allocated buffers it is recommended to implement this trait on the reference type instead.

Required methods

pub unsafe fn bind_to_cursor(
    &mut self,
    cursor: &mut impl Cursor
) -> Result<(), Error>
[src]

Binds the buffer either column or row wise to the cursor.

Safety

It's the implementations responsibility to ensure that all bound buffers are valid as specified and live long enough.

Loading content...

Implementations on Foreign Types

impl<T: RowSetBuffer, '_> RowSetBuffer for &'_ mut T[src]

Loading content...

Implementors

impl RowSetBuffer for TextRowSet[src]

Loading content...