rak-rs 0.3.2

A fully functional RakNet implementation in pure rust, asynchronously driven.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! # Connection Error
//! These error types are used when an error occurs within the [`Connection`].
//!
//! [`Connection`]: crate::connection::Connection
/// The error type for the [`Connection`].
/// These are lesser known errors that can occur within the connection.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub enum ConnectionError {
    /// The connection has been closed.
    Closed,
    /// The connection has been closed by the peer.
    EventDispatchError,
}