Enum quinn_proto::DatagramEvent [−][src]
pub enum DatagramEvent<S> where
S: Session, { ConnectionEvent(ConnectionEvent), NewConnection(Connection<S>), }
Event resulting from processing a single datagram
Variants
ConnectionEvent(ConnectionEvent)
The datagram is redirected to its Connection
NewConnection(Connection<S>)
The datagram has resulted in starting a new Connection
Auto Trait Implementations
impl<S> !RefUnwindSafe for DatagramEvent<S>
impl<S> !RefUnwindSafe for DatagramEvent<S>
impl<S> Send for DatagramEvent<S>
impl<S> Send for DatagramEvent<S>
impl<S> !Sync for DatagramEvent<S>
impl<S> !Sync for DatagramEvent<S>
impl<S> Unpin for DatagramEvent<S> where
S: Unpin,
<S as Session>::HeaderKey: Unpin,
<S as Session>::PacketKey: Unpin,
impl<S> Unpin for DatagramEvent<S> where
S: Unpin,
<S as Session>::HeaderKey: Unpin,
<S as Session>::PacketKey: Unpin,
impl<S> !UnwindSafe for DatagramEvent<S>
impl<S> !UnwindSafe for DatagramEvent<S>
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,