pub enum ServerError {
ClientAlreadyRegistered,
UnknownClient,
ClientDisconnected,
ConnectionError,
ResourcesExhausted,
UnknownShortcode,
}Variants§
ClientAlreadyRegistered
UnknownClient
ClientDisconnected
ConnectionError
ResourcesExhausted
UnknownShortcode
Trait Implementations§
Source§impl Debug for ServerError
impl Debug for ServerError
Source§impl PartialEq for ServerError
impl PartialEq for ServerError
impl Eq for ServerError
impl StructuralPartialEq for ServerError
Auto Trait Implementations§
impl Freeze for ServerError
impl RefUnwindSafe for ServerError
impl Send for ServerError
impl Sync for ServerError
impl Unpin for ServerError
impl UnwindSafe for ServerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more