pub struct DiscardEventSink;Expand description
Event sink that intentionally discards observations after awaiting the call.
Trait Implementations§
Source§impl Clone for DiscardEventSink
impl Clone for DiscardEventSink
impl Copy for DiscardEventSink
Source§impl Debug for DiscardEventSink
impl Debug for DiscardEventSink
Source§impl Default for DiscardEventSink
impl Default for DiscardEventSink
Source§impl KernelEventSink for DiscardEventSink
impl KernelEventSink for DiscardEventSink
Source§fn emit(&self, _event: EventEnvelope) -> KernelEventFuture<'_>
fn emit(&self, _event: EventEnvelope) -> KernelEventFuture<'_>
Accepts one canonical event after every prior event has completed.
Source§fn last_sequence(&self, _session_id: SessionId) -> Option<SessionSequence>
fn last_sequence(&self, _session_id: SessionId) -> Option<SessionSequence>
Returns the last accepted sequence for one continuing observation stream. Read more
Auto Trait Implementations§
impl Freeze for DiscardEventSink
impl RefUnwindSafe for DiscardEventSink
impl Send for DiscardEventSink
impl Sync for DiscardEventSink
impl Unpin for DiscardEventSink
impl UnsafeUnpin for DiscardEventSink
impl UnwindSafe for DiscardEventSink
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