pub struct RawPacket<'a> {
pub ts_sec: u32,
pub ts_usec: u32,
pub data: &'a [u8],
}Expand description
A single captured frame with its timestamp.
Fields§
§ts_sec: u32§ts_usec: u32§data: &'a [u8]Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RawPacket<'a>
impl<'a> RefUnwindSafe for RawPacket<'a>
impl<'a> Send for RawPacket<'a>
impl<'a> Sync for RawPacket<'a>
impl<'a> Unpin for RawPacket<'a>
impl<'a> UnsafeUnpin for RawPacket<'a>
impl<'a> UnwindSafe for RawPacket<'a>
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