Enum quinn_proto::DatagramEvent
source · pub enum DatagramEvent {
ConnectionEvent(ConnectionEvent),
NewConnection(Connection),
}
Expand description
Event resulting from processing a single datagram
Variants§
ConnectionEvent(ConnectionEvent)
The datagram is redirected to its Connection
NewConnection(Connection)
The datagram has resulted in starting a new Connection
Auto Trait Implementations§
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