pub struct DispatcherMetrics {
pub messages_dispatched: u64,
pub messages_delivered: u64,
pub unknown_type_errors: u64,
pub delivery_errors: u64,
}Expand description
Metrics for dispatcher operations.
Fields§
§messages_dispatched: u64Total messages dispatched.
messages_delivered: u64Messages successfully delivered.
unknown_type_errors: u64Messages that failed to route (unknown type).
delivery_errors: u64Messages that failed to deliver (queue full, etc.).
Trait Implementations§
Source§impl Debug for DispatcherMetrics
impl Debug for DispatcherMetrics
Source§impl Default for DispatcherMetrics
impl Default for DispatcherMetrics
Source§fn default() -> DispatcherMetrics
fn default() -> DispatcherMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DispatcherMetrics
impl RefUnwindSafe for DispatcherMetrics
impl Send for DispatcherMetrics
impl Sync for DispatcherMetrics
impl Unpin for DispatcherMetrics
impl UnwindSafe for DispatcherMetrics
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.