Trait pleingres::HandleRow
[−]
[src]
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) { ... } }
Requests that can handle a resulting row.
Required Methods
Provided Methods
fn complete<'a>(&mut self, modified: u32)
Called at the end of the request, with the number of modified rows.
fn ready_for_query<'a>(&mut self)
Called when the server is ready for the next request.
fn err(&mut self, err: &str)
This function gets called when the server returns an error.