pub struct CapturedDrain {
pub entries: Vec<CapturedEntry>,
pub dropped: usize,
}Expand description
Detailed drain result. Carries the entries plus a dropped count
for emissions silently evicted by the bounded buffer since the
previous drain, so the consumer can surface a “(N earlier entries
dropped)” line instead of letting the loss go unnoticed.
Fields§
§entries: Vec<CapturedEntry>§dropped: usizeTrait Implementations§
Source§impl Debug for CapturedDrain
impl Debug for CapturedDrain
Source§impl Default for CapturedDrain
impl Default for CapturedDrain
Source§fn default() -> CapturedDrain
fn default() -> CapturedDrain
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CapturedDrain
impl RefUnwindSafe for CapturedDrain
impl Send for CapturedDrain
impl Sync for CapturedDrain
impl Unpin for CapturedDrain
impl UnsafeUnpin for CapturedDrain
impl UnwindSafe for CapturedDrain
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