pub enum ProtocolError {
OnlyHelloServerOrConnectGameAllowedAtThisTime {
incorrect_message_type: String,
},
}Variants§
Trait Implementations§
Source§impl Debug for ProtocolError
impl Debug for ProtocolError
Source§impl From<ProtocolError> for ConnectionError
impl From<ProtocolError> for ConnectionError
Source§fn from(value: ProtocolError) -> Self
fn from(value: ProtocolError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProtocolError
impl RefUnwindSafe for ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl UnwindSafe for ProtocolError
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