pub enum ParseHandshakeError {
InvalidVersion(u8),
IO(Error),
}Expand description
An error from reading a SandstormHandshake.
Variants§
InvalidVersion(u8)
Indicates that the client requested an invalid or unsupported Sandstorm version.
IO(Error)
Indicates that an IO error ocurred while reading the handshake.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseHandshakeError
impl !RefUnwindSafe for ParseHandshakeError
impl Send for ParseHandshakeError
impl Sync for ParseHandshakeError
impl Unpin for ParseHandshakeError
impl !UnwindSafe for ParseHandshakeError
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