pub struct RouteStats {
pub sent: u64,
pub rejected: u64,
pub lagged: u64,
pub topic_overflow: u64,
pub serialize_failed: u64,
}Expand description
Values taken from one route’s buffer, by outcome.
Fields§
§sent: u64Staged and handed to the connector, including any it then rejected.
rejected: u64Handed to the connector, which could not send them (for example,
larger than its transport accepts). Reported with
OutboundRoutes::reject.
lagged: u64Missed because the reader fell behind.
topic_overflow: u64Skipped: the written topic did not fit.
serialize_failed: u64Skipped: the serializer failed or reported an invalid length.
Trait Implementations§
Source§impl Clone for RouteStats
impl Clone for RouteStats
impl Copy for RouteStats
Source§impl Debug for RouteStats
impl Debug for RouteStats
Source§impl Default for RouteStats
impl Default for RouteStats
impl Eq for RouteStats
Source§impl PartialEq for RouteStats
impl PartialEq for RouteStats
impl StructuralPartialEq for RouteStats
Auto Trait Implementations§
impl Freeze for RouteStats
impl RefUnwindSafe for RouteStats
impl Send for RouteStats
impl Sync for RouteStats
impl Unpin for RouteStats
impl UnsafeUnpin for RouteStats
impl UnwindSafe for RouteStats
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