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<NetworkCaptureSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NetworkCaptureSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for NetworkCaptureSnapshot
impl Serialize for NetworkCaptureSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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