Enum netcode::UpdateError [] [src]

pub enum UpdateError {
    PacketBufferTooSmall,
    RecvError(RecvError),
    SendError(SendError),
    Internal(InternalError),
}

Errors from calls to next_event().

Variants

Packet buffer was too small to recieve the largest packet(NETCODE_MAX_PAYLOAD_LEN = 1775)

An error happened when receiving a packet.

An error when sending(usually challenge response)

An internal error occurred

Trait Implementations

impl Debug for UpdateError
[src]

Formats the value using the given formatter.

impl From<RecvError> for UpdateError
[src]

Performs the conversion.

impl From<ChallengeEncodeError> for UpdateError
[src]

Performs the conversion.

impl From<SendError> for UpdateError
[src]

Performs the conversion.