pub enum ServerError {
ConnectionError(ConnectionError),
IOError(Error),
Overflow,
ServerFull,
Underflow,
}
Expand description
Errors pertaining to HttpServer
.
Variants§
ConnectionError(ConnectionError)
Error from one of the connections.
IOError(Error)
Epoll operations failed.
Overflow
Overflow occured while processing messages.
ServerFull
Server maximum capacity has been reached.
Underflow
Underflow occured while processing mesagges.
Trait Implementations§
Source§impl Debug for ServerError
impl Debug 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