pub enum GameStateIntegrationError {
IncompleteHeaders,
SocketRead(Error),
NoHandlersAvailable,
InvalidContentLength(String),
MissingContentLengthHeader,
InvalidRequest(Error),
ServerShutdown,
Handler {
source: Error,
},
Unknown(JoinError),
}Variants§
IncompleteHeaders
SocketRead(Error)
NoHandlersAvailable
InvalidContentLength(String)
MissingContentLengthHeader
InvalidRequest(Error)
ServerShutdown
Handler
Unknown(JoinError)
Trait Implementations§
Source§impl Debug for GameStateIntegrationError
impl Debug for GameStateIntegrationError
Source§impl Display for GameStateIntegrationError
impl Display for GameStateIntegrationError
Source§impl Error for GameStateIntegrationError
impl Error for GameStateIntegrationError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for GameStateIntegrationError
impl From<Error> for GameStateIntegrationError
Source§impl From<Error> for GameStateIntegrationError
impl From<Error> for GameStateIntegrationError
Auto Trait Implementations§
impl Freeze for GameStateIntegrationError
impl !RefUnwindSafe for GameStateIntegrationError
impl Send for GameStateIntegrationError
impl Sync for GameStateIntegrationError
impl Unpin for GameStateIntegrationError
impl !UnwindSafe for GameStateIntegrationError
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