pub struct Packet { /* fields omitted */ }
Expand description
Represents a wintun packet
Returns the bytes this packet holds as &mut.
The lifetime of the bytes is tied to the lifetime of this packet.
Returns an immutable reference to the bytes this packet holds.
The lifetime of the bytes is tied to the lifetime of this packet.
Executes the destructor for this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,