Struct wintun::Packet[][src]

pub struct Packet { /* fields omitted */ }
Expand description

Represents a wintun packet

Implementations

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.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.