#[non_exhaustive]pub struct LogDropStats {
pub queue_full: u64,
pub byte_budget: u64,
pub oversized: u64,
}Expand description
Cumulative capacity-related drops for one subscription.
Checks are ordered: single-record size, queued-byte budget, then queue slots. Each rejected record contributes to exactly one counter. Filtering, closure, and suppressed overflow reports are not counted. Concurrent updates mean the fields need not represent one atomic instant.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.queue_full: u64Records discarded because no queue slot was available.
byte_budget: u64Records discarded because the queued/reserved byte budget was exhausted.
oversized: u64Records exceeding the configured single-record byte limit.
Trait Implementations§
Source§impl Clone for LogDropStats
impl Clone for LogDropStats
impl Copy for LogDropStats
Source§impl Debug for LogDropStats
impl Debug for LogDropStats
Source§impl Default for LogDropStats
impl Default for LogDropStats
impl Eq for LogDropStats
Source§impl PartialEq for LogDropStats
impl PartialEq for LogDropStats
impl StructuralPartialEq for LogDropStats
Auto Trait Implementations§
impl Forget for LogDropStats
impl Freeze for LogDropStats
impl Move for LogDropStats
impl RefUnwindSafe for LogDropStats
impl Send for LogDropStats
impl Sync for LogDropStats
impl Unpin for LogDropStats
impl UnsafeUnpin for LogDropStats
impl UnwindSafe for LogDropStats
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