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