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
sourceimpl Debug for NaiaServerSocketError
impl Debug for NaiaServerSocketError
sourceimpl Display for NaiaServerSocketError
impl Display for NaiaServerSocketError
sourceimpl Error for NaiaServerSocketError
impl Error for NaiaServerSocketError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl !RefUnwindSafe for NaiaServerSocketError
impl Send for NaiaServerSocketError
impl Sync for NaiaServerSocketError
impl Unpin for NaiaServerSocketError
impl !UnwindSafe for NaiaServerSocketError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more