pub struct PacketInfo<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PacketInfo<'a>
impl<'a> PacketInfo<'a>
Sourcepub fn sequence_number(&self) -> u16
pub fn sequence_number(&self) -> u16
pub fn timestamp_raw(&self) -> u64
pub fn timestamp(&self) -> NaiveDateTime
pub fn thread_id(&self) -> u16
pub fn file_name(&self) -> Result<&str, Utf8Error>
pub fn buffer_name(&self) -> Result<&str, Utf8Error>
pub fn owner_pid(&self) -> u32
pub fn flags(&self) -> Option<PacketFlags>
pub fn register_flags(&self) -> Option<RegisterFlags>
Trait Implementations§
Source§impl<'a> Clone for PacketInfo<'a>
impl<'a> Clone for PacketInfo<'a>
Source§fn clone(&self) -> PacketInfo<'a>
fn clone(&self) -> PacketInfo<'a>
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 Debug for PacketInfo<'_>
impl Debug for PacketInfo<'_>
impl<'a> Copy for PacketInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for PacketInfo<'a>
impl<'a> RefUnwindSafe for PacketInfo<'a>
impl<'a> Send for PacketInfo<'a>
impl<'a> Sync for PacketInfo<'a>
impl<'a> Unpin for PacketInfo<'a>
impl<'a> UnwindSafe for PacketInfo<'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