Trait postgres::HandleNotice
[−]
[src]
pub trait HandleNotice: Send { fn handle_notice(&mut self, notice: DbError); }
A trait implemented by types that can handle Postgres notice messages.
It is implemented for all Send + FnMut(DbError)
closures.
Required Methods
fn handle_notice(&mut self, notice: DbError)
Handle a Postgres notice message
Implementors
impl<F: Send + FnMut(DbError)> HandleNotice for F
impl HandleNotice for LoggingNoticeHandler