pub struct Packet {
pub start: usize,
pub end: usize,
pub buffer_size: usize,
pub buffer: *mut u8,
/* private fields */
}Expand description
Packet Structure used by Packetvisor
Fields§
§start: usizepayload offset from buffer pointing the start of payload.
end: usizepayload offset from buffer point the end of payload.
buffer_size: usizetotal size of buffer.
buffer: *mut u8buffer address.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Packet
impl !RefUnwindSafe for Packet
impl !Send for Packet
impl !Sync for Packet
impl Unpin for Packet
impl !UnwindSafe for Packet
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