Enum netcode::UpdateError
[−]
[src]
pub enum UpdateError { PacketBufferTooSmall, RecvError(RecvError), SendError(SendError), Internal(InternalError), }
Errors from calls to next_event().
Variants
PacketBufferTooSmall
Packet buffer was too small to recieve the largest packet(NETCODE_MAX_PAYLOAD_LEN
= 1775)
RecvError(RecvError)
An error happened when receiving a packet.
SendError(SendError)
An error when sending(usually challenge response)
Internal(InternalError)
An internal error occurred
Trait Implementations
impl Debug for UpdateError
[src]
impl From<RecvError> for UpdateError
[src]
fn from(err: RecvError) -> UpdateError
Performs the conversion.
impl From<ChallengeEncodeError> for UpdateError
[src]
fn from(err: ChallengeEncodeError) -> UpdateError
Performs the conversion.
impl From<SendError> for UpdateError
[src]
fn from(err: SendError) -> UpdateError
Performs the conversion.