#[repr(C)]pub struct pt_packet_unknown {
pub packet: *const u8,
pub priv_: *mut c_void,
}Expand description
An unknown packet.
Fields§
§packet: *const u8Pointer to the raw packet bytes.
priv_: *mut c_voidOptional pointer to a user-defined structure.
Trait Implementations§
Source§impl Clone for pt_packet_unknown
impl Clone for pt_packet_unknown
Source§fn clone(&self) -> pt_packet_unknown
fn clone(&self) -> pt_packet_unknown
Returns a copy 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 pt_packet_unknown
impl Debug for pt_packet_unknown
impl Copy for pt_packet_unknown
Auto Trait Implementations§
impl Freeze for pt_packet_unknown
impl RefUnwindSafe for pt_packet_unknown
impl !Send for pt_packet_unknown
impl !Sync for pt_packet_unknown
impl Unpin for pt_packet_unknown
impl UnwindSafe for pt_packet_unknown
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