pub struct StdoutSink;Expand description
A sink that prints events to stdout.
Trait Implementations§
Source§impl EventSink for StdoutSink
Available on crate feature std only.
impl EventSink for StdoutSink
Available on crate feature
std only.Source§fn emit(&self, event: &FabricEvent)
fn emit(&self, event: &FabricEvent)
Consume an event. Implementations should not block.
Auto Trait Implementations§
impl Freeze for StdoutSink
impl RefUnwindSafe for StdoutSink
impl Send for StdoutSink
impl Sync for StdoutSink
impl Unpin for StdoutSink
impl UnwindSafe for StdoutSink
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