pub struct LoggingNotificationHandler;
Expand description
Default notification handler that logs notifications
Trait Implementationsยง
Sourceยงimpl NotificationHandler for LoggingNotificationHandler
impl NotificationHandler for LoggingNotificationHandler
Sourceยงfn handle_notification(&self, notification: JsonRpcNotification)
fn handle_notification(&self, notification: JsonRpcNotification)
Handle a notification from the server
Auto Trait Implementationsยง
impl Freeze for LoggingNotificationHandler
impl RefUnwindSafe for LoggingNotificationHandler
impl Send for LoggingNotificationHandler
impl Sync for LoggingNotificationHandler
impl Unpin for LoggingNotificationHandler
impl UnwindSafe for LoggingNotificationHandler
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more