pub enum NaiaServerSocketError {
Wrapped(Box<dyn Error + Send + Sync>),
SendError(SocketAddr),
}Expand description
An Error type specifically related to the Naia Server Socket This is under construction and needs to be cleaned up
Variants§
Wrapped(Box<dyn Error + Send + Sync>)
A wrapped error from another library/codebase
SendError(SocketAddr)
An error indicating an inability to send to the given address
Trait Implementations§
source§impl Debug for NaiaServerSocketError
impl Debug for NaiaServerSocketError
source§impl Display for NaiaServerSocketError
impl Display for NaiaServerSocketError
source§impl Error for NaiaServerSocketError
impl Error for NaiaServerSocketError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()