pub struct ConsoleSink;Expand description
Console sink — prints notifications to stderr.
Implementations§
Source§impl ConsoleSink
impl ConsoleSink
pub async fn send(&self, notification: &Notification) -> Result<()>
Auto Trait Implementations§
impl Freeze for ConsoleSink
impl RefUnwindSafe for ConsoleSink
impl Send for ConsoleSink
impl Sync for ConsoleSink
impl Unpin for ConsoleSink
impl UnsafeUnpin for ConsoleSink
impl UnwindSafe for ConsoleSink
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