Trait Output

Source
pub unsafe trait Output<'a>: Sized {
    // Required method
    fn get_data(
        stmt: &mut Raii<'_, Stmt>,
        col_or_param_num: u16,
        buffer: &'a mut Vec<u8>,
    ) -> Return<Option<Self>>;
}
Expand description

Indicates that a type can be retrieved using Cursor::get_data

Required Methods§

Source

fn get_data( stmt: &mut Raii<'_, Stmt>, col_or_param_num: u16, buffer: &'a mut Vec<u8>, ) -> Return<Option<Self>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, T> Output<'a> for T
where T: OdbcType<'a>,