pub trait HandleRow {
fn row(&mut self, row: Row<'_>) -> bool { ... }
fn complete<'a>(&mut self, modified: u32) { ... }
fn ready_for_query<'a>(&mut self) { ... }
fn err(&mut self, err: &str) { ... }
}
Expand description
Requests that can handle a resulting row.
Provided Methods
sourcefn complete<'a>(&mut self, modified: u32)
fn complete<'a>(&mut self, modified: u32)
Called at the end of the request, with the number of modified rows.
sourcefn ready_for_query<'a>(&mut self)
fn ready_for_query<'a>(&mut self)
Called when the server is ready for the next request.