Serializer/Deserialize for the airmash protocol version 5.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
Formats the value using the given formatter. Read more
Error for when a packet fails to serialize. Read more
Error for when a packet fails to deserialize. Read more
Unique version number for the protocol.
Serialize a client packet into some number of binary packet bodies. Read more
Serialize a server packet into some number of binary packet bodies. Read more
Deserialize a binary packet into a client packet.
Deserialize a binary packet into a server packet.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
Serialize a packet. This can be either a [ClientPacket
][1] or a [ServerPacket
][0] depending on the instantiation of this trait. Read more
Deserialize a packet. This can be either a [ClientPacket
][1] or a [ServerPacket
][0] depending on the instantiation of this trait. Read more
Serialize a packet. This can be either a [ClientPacket
][1] or a [ServerPacket
][0] depending on the instantiation of this trait. Read more
Deserialize a packet. This can be either a [ClientPacket
][1] or a [ServerPacket
][0] depending on the instantiation of this trait. Read more