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> Send 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> !UnwindSafe for DatagramEvent<S>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,