pub struct IgnoreHookEvents;Expand description
Discards everything, for a caller that wants no reporting.
Trait Implementations§
Source§impl Clone for IgnoreHookEvents
impl Clone for IgnoreHookEvents
impl Copy for IgnoreHookEvents
Source§impl Debug for IgnoreHookEvents
impl Debug for IgnoreHookEvents
Source§impl Default for IgnoreHookEvents
impl Default for IgnoreHookEvents
Source§impl<K: Kind> HookObserver<K> for IgnoreHookEvents
impl<K: Kind> HookObserver<K> for IgnoreHookEvents
Source§fn event_dropped(
&self,
_hook: &str,
_event: &str,
_kind: K,
_loss: Loss,
_detail: &str,
)
fn event_dropped( &self, _hook: &str, _event: &str, _kind: K, _loss: Loss, _detail: &str, )
An event will not be attempted again.
detail is an HTTP status or a
transport error, and event is the CloudEvents id a consumer would quote.Source§fn events_abandoned(&self, _hook: &str, _dropped: usize)
fn events_abandoned(&self, _hook: &str, _dropped: usize)
Queued events were abandoned at the shutdown drain deadline.
Source§fn delivery_outcomes_unknown(&self, _hook: &str, _count: usize)
fn delivery_outcomes_unknown(&self, _hook: &str, _count: usize)
Deliveries were in flight when the drain deadline passed, so they may have
reached the endpoint before being cancelled. Unknown rather than dropped.
Source§fn event_unrenderable(&self, _reason: &str)
fn event_unrenderable(&self, _reason: &str)
An event could not be turned into bytes at all. Read more
Auto Trait Implementations§
impl Freeze for IgnoreHookEvents
impl RefUnwindSafe for IgnoreHookEvents
impl Send for IgnoreHookEvents
impl Sync for IgnoreHookEvents
impl Unpin for IgnoreHookEvents
impl UnsafeUnpin for IgnoreHookEvents
impl UnwindSafe for IgnoreHookEvents
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