pub enum IngressEvent {
InboundConnection {
desc: SocketDesc,
},
Disconnected {
desc: SocketDesc,
},
Packet {
desc: SocketDesc,
payload: Vec<u8>,
},
}Variants§
InboundConnection
New connection to a bound endpoint
Fields
§
desc: SocketDescDisconnected
Disconnection from a bound endpoint
Fields
§
desc: SocketDescPacket
Bound endpoint packet
Trait Implementations§
Source§impl Clone for IngressEvent
impl Clone for IngressEvent
Source§fn clone(&self) -> IngressEvent
fn clone(&self) -> IngressEvent
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 IngressEvent
impl RefUnwindSafe for IngressEvent
impl Send for IngressEvent
impl Sync for IngressEvent
impl Unpin for IngressEvent
impl UnwindSafe for IngressEvent
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