Struct naia_shared::AckManager[][src]

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

Keeps track of sent & received packets, and contains ack information that is copied into the standard header on each outgoing packet

Implementations

Create a new AckManager

Get the index of the next outgoing packet

Process an incoming packet, handle notifications of delivered / dropped packets

Records the packet with the given packet index

Bumps the local packet index

Trait Implementations

Formats the value using the given formatter. 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.