pub enum JoinError {
Resolver(ResolverError),
Connection(ConnectionError),
ReadPacket(ReadPacketError),
Io(Error),
SessionServer(SessionServerError),
InvalidAddress,
}
Variants
Resolver(ResolverError)
Connection(ConnectionError)
ReadPacket(ReadPacketError)
Io(Error)
SessionServer(SessionServerError)
InvalidAddress
Trait Implementations
sourceimpl Error for JoinError
impl Error for JoinError
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()
sourceimpl From<ConnectionError> for JoinError
impl From<ConnectionError> for JoinError
sourcefn from(source: ConnectionError) -> JoinError
fn from(source: ConnectionError) -> JoinError
Converts to this type from the input type.
sourceimpl From<ReadPacketError> for JoinError
impl From<ReadPacketError> for JoinError
sourcefn from(source: ReadPacketError) -> JoinError
fn from(source: ReadPacketError) -> JoinError
Converts to this type from the input type.
sourceimpl From<ResolverError> for JoinError
impl From<ResolverError> for JoinError
sourcefn from(source: ResolverError) -> JoinError
fn from(source: ResolverError) -> JoinError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for JoinError
impl Send for JoinError
impl Sync for JoinError
impl Unpin for JoinError
impl !UnwindSafe for JoinError
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