Enum quinn_proto::DatagramEvent
source · pub enum DatagramEvent {
ConnectionEvent(ConnectionHandle, ConnectionEvent),
NewConnection(Incoming),
Response(Transmit),
}
Expand description
Event resulting from processing a single datagram
Variants§
ConnectionEvent(ConnectionHandle, ConnectionEvent)
The datagram is redirected to its Connection
NewConnection(Incoming)
The datagram may result in starting a new Connection
Response(Transmit)
Response generated directly by the endpoint
Auto Trait Implementations§
impl !Freeze for DatagramEvent
impl !RefUnwindSafe for DatagramEvent
impl Send for DatagramEvent
impl Sync for DatagramEvent
impl Unpin for DatagramEvent
impl !UnwindSafe for DatagramEvent
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