Enum victorem::ServerEvent
source · pub enum ServerEvent {
ExceptionOnRecv(Exception),
ExceptionOnSend((SocketAddr, Exception)),
}
Expand description
Events from server.
Variants
ExceptionOnRecv(Exception)
Error on read data from socket.
ExceptionOnSend((SocketAddr, Exception))
Error on write data to socket.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ServerEvent
impl Send for ServerEvent
impl Sync for ServerEvent
impl Unpin for ServerEvent
impl !UnwindSafe for ServerEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more