pub enum SocketEvent {
PacketDiscard(String),
ReadPacketFail(String),
SendPacketFail(String),
}Expand description
The different type of events that can occur during a socket running its events
Variants§
Trait Implementations§
Source§impl Clone for SocketEvent
impl Clone for SocketEvent
Source§fn clone(&self) -> SocketEvent
fn clone(&self) -> SocketEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SocketEvent
impl RefUnwindSafe for SocketEvent
impl Send for SocketEvent
impl Sync for SocketEvent
impl Unpin for SocketEvent
impl UnwindSafe for SocketEvent
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