pub enum Action<'a> {
ReleaseData((Instant, Bytes)),
SendPacket((Packet, SocketAddr)),
UpdateStatistics(&'a SocketStatistics),
WaitForData(Duration),
Close,
}
Variants
ReleaseData((Instant, Bytes))
SendPacket((Packet, SocketAddr))
Tuple Fields
0: (Packet, SocketAddr)
UpdateStatistics(&'a SocketStatistics)
Tuple Fields
0: &'a SocketStatistics
WaitForData(Duration)
Tuple Fields
0: Duration
Close
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Action<'a>
impl<'a> UnwindSafe for Action<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.