pub struct NetworkCaptureSnapshot {
pub entries: Vec<NetworkEntry>,
pub dropped: u64,
}Expand description
A point-in-time view of the capture buffer.
Fields§
§entries: Vec<NetworkEntry>§dropped: u64Entries evicted from the ring buffer since the last clear (buffer full). Surfaced so truncation is never silent.
Trait Implementations§
Source§impl Clone for NetworkCaptureSnapshot
impl Clone for NetworkCaptureSnapshot
Source§fn clone(&self) -> NetworkCaptureSnapshot
fn clone(&self) -> NetworkCaptureSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkCaptureSnapshot
impl Debug for NetworkCaptureSnapshot
Source§impl Default for NetworkCaptureSnapshot
impl Default for NetworkCaptureSnapshot
Source§fn default() -> NetworkCaptureSnapshot
fn default() -> NetworkCaptureSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkCaptureSnapshot
impl<'de> Deserialize<'de> for NetworkCaptureSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetworkCaptureSnapshot
impl RefUnwindSafe for NetworkCaptureSnapshot
impl Send for NetworkCaptureSnapshot
impl Sync for NetworkCaptureSnapshot
impl Unpin for NetworkCaptureSnapshot
impl UnsafeUnpin for NetworkCaptureSnapshot
impl UnwindSafe for NetworkCaptureSnapshot
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