pub struct NullEventSink;Expand description
No-op sink for tests and headless runs.
Trait Implementations§
Source§impl Debug for NullEventSink
impl Debug for NullEventSink
Source§impl Default for NullEventSink
impl Default for NullEventSink
Source§fn default() -> NullEventSink
fn default() -> NullEventSink
Returns the “default value” for a type. Read more
Source§impl EventSink for NullEventSink
impl EventSink for NullEventSink
Source§fn emit(&self, _event: AgentEvent)
fn emit(&self, _event: AgentEvent)
Observe an event synchronously. Avoid blocking the execution task.
Auto Trait Implementations§
impl Freeze for NullEventSink
impl RefUnwindSafe for NullEventSink
impl Send for NullEventSink
impl Sync for NullEventSink
impl Unpin for NullEventSink
impl UnsafeUnpin for NullEventSink
impl UnwindSafe for NullEventSink
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