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: usize
payload offset from buffer
pointing the start of payload.
end: usize
payload offset from buffer
point the end of payload.
buffer_size: usize
total size of buffer.
buffer: *mut u8
buffer 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