Struct blaze_pk::OpaquePacket

source ·
pub struct OpaquePacket(pub PacketHeader, pub Vec<u8>);
Expand description

Structure for packets that have been read where the contents are not know and are encoded as a vector of bytes.

Tuple Fields

0: PacketHeader1: Vec<u8>

Implementations

Reads the contents of this encoded packet and tries to decode the R from it.

Debug decoding decodes self printing all the hit nodes

Reads a packet from the provided input without parsing the contents of the packet

Handles writing the header and contents of this packet to the Writable object

Trait Implementations

Formats the value using the given formatter. Read more
The type returned in the event of a conversion error.
Performs the conversion.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.