pub enum DatagramEvent {
Connection(ConnHandle),
NewConnection(ConnHandle),
Response(Transmit),
Dropped,
}Expand description
What happened to a received datagram.
Variants§
Connection(ConnHandle)
Delivered to an existing connection.
NewConnection(ConnHandle)
A new server connection was created and the datagram delivered to it.
Response(Transmit)
A stateless reply was written to the response buffer.
Dropped
Trait Implementations§
Source§impl Debug for DatagramEvent
impl Debug for DatagramEvent
impl Eq for DatagramEvent
Source§impl PartialEq for DatagramEvent
impl PartialEq for DatagramEvent
impl StructuralPartialEq for DatagramEvent
Auto Trait Implementations§
impl Forget for DatagramEvent
impl Freeze for DatagramEvent
impl Move for DatagramEvent
impl RefUnwindSafe for DatagramEvent
impl Send for DatagramEvent
impl Sync for DatagramEvent
impl Unpin for DatagramEvent
impl UnsafeUnpin 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