BinaryResultSetHandler

Trait BinaryResultSetHandler 

Source
pub trait BinaryResultSetHandler {
    // Required methods
    fn no_result_set(&mut self, ok: OkPayloadBytes<'_>) -> Result<()>;
    fn resultset_start(&mut self, cols: &[ColumnDefinition<'_>]) -> Result<()>;
    fn row(
        &mut self,
        cols: &[ColumnDefinition<'_>],
        row: BinaryRowPayload<'_>,
    ) -> Result<()>;
    fn resultset_end(&mut self, eof: OkPayloadBytes<'_>) -> Result<()>;
}
Expand description

Trait that defines event callbacks for binary protocol result sets

Required Methods§

Source

fn no_result_set(&mut self, ok: OkPayloadBytes<'_>) -> Result<()>

Source

fn resultset_start(&mut self, cols: &[ColumnDefinition<'_>]) -> Result<()>

Source

fn row( &mut self, cols: &[ColumnDefinition<'_>], row: BinaryRowPayload<'_>, ) -> Result<()>

Source

fn resultset_end(&mut self, eof: OkPayloadBytes<'_>) -> Result<()>

Implementors§