Struct postgres::LoggingNoticeHandler [] [src]

pub struct LoggingNoticeHandler;

A notice handler which logs at the info level.

This is the default handler used by a Connection.

Trait Implementations

impl Debug for LoggingNoticeHandler
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for LoggingNoticeHandler
[src]

fn clone(&self) -> LoggingNoticeHandler

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for LoggingNoticeHandler
[src]

impl HandleNotice for LoggingNoticeHandler
[src]

fn handle_notice(&mut self, notice: DbError)

Handle a Postgres notice message