pub type NoticeHandler = Box<dyn Fn(&Notice) + Send + Sync>;
A callback that is invoked whenever the server sends a Notice.
Notice
pub struct NoticeHandler(/* private fields */);