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