Enum ya_relay_stack::IngressEvent
source · pub enum IngressEvent {
InboundConnection {
desc: SocketDesc,
},
Disconnected {
desc: SocketDesc,
},
Packet {
desc: SocketDesc,
payload: Vec<u8>,
},
}Variants§
InboundConnection
Fields
§
desc: SocketDescNew connection to a bound endpoint
Disconnected
Fields
§
desc: SocketDescDisconnection from a bound endpoint
Packet
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 copy 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 more