Enum quinn::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> where
    S: RefUnwindSafe,
    <<S as Session>::Keys as Keys>::HeaderKeys: RefUnwindSafe,
    <S as Session>::Keys: RefUnwindSafe,
    <S as Session>::ServerConfig: RefUnwindSafe

impl<S> Send for DatagramEvent<S> where
    S: Send,
    <<S as Session>::Keys as Keys>::HeaderKeys: Send,
    <S as Session>::Keys: Send,
    <S as Session>::ServerConfig: Send + Sync

impl<S> Sync for DatagramEvent<S> where
    S: Sync,
    <<S as Session>::Keys as Keys>::HeaderKeys: Sync,
    <S as Session>::Keys: Sync,
    <S as Session>::ServerConfig: Send + Sync

impl<S> Unpin for DatagramEvent<S> where
    S: Unpin,
    <<S as Session>::Keys as Keys>::HeaderKeys: Unpin,
    <S as Session>::Keys: Unpin

impl<S> UnwindSafe for DatagramEvent<S> where
    S: UnwindSafe,
    <<S as Session>::Keys as Keys>::HeaderKeys: UnwindSafe,
    <S as Session>::Keys: UnwindSafe,
    <S as Session>::ServerConfig: RefUnwindSafe

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>,