pub struct ParseBlockContext {
pub block_index: usize,
}Expand description
Block parsing context
Fields§
§block_index: usizeIndex of current block in the pcap file
Trait Implementations§
Source§impl Clone for ParseBlockContext
impl Clone for ParseBlockContext
Source§fn clone(&self) -> ParseBlockContext
fn clone(&self) -> ParseBlockContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ParseBlockContext
impl Default for ParseBlockContext
Source§fn default() -> ParseBlockContext
fn default() -> ParseBlockContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseBlockContext
impl RefUnwindSafe for ParseBlockContext
impl Send for ParseBlockContext
impl Sync for ParseBlockContext
impl Unpin for ParseBlockContext
impl UnwindSafe for ParseBlockContext
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