pub enum EventData {
Show 49 variants
ServerListening(ServerListening),
ConnectionStarted(ConnectionStarted),
ConnectionClosed(ConnectionClosed),
ConnectionIdUpdated(ConnectionIdUpdated),
SpinBitUpdated(SpinBitUpdated),
ConnectionStateUpdated(ConnectionStateUpdated),
MtuUpdated(MtuUpdated),
KeyUpdated(KeyUpdated),
KeyDiscarded(KeyDiscarded),
VersionInformation(VersionInformation),
AlpnInformation(AlpnInformation),
TransportParametersSet(TransportParametersSet),
TransportParametersRestored(TransportParametersRestored),
DatagramsReceived(DatagramsReceived),
DatagramsSent(DatagramsSent),
DatagramDropped(DatagramDropped),
PacketReceived(PacketReceived),
PacketSent(PacketSent),
PacketDropped(PacketDropped),
PacketBuffered(PacketBuffered),
PacketsAcked(PacketsAcked),
StreamStateUpdated(StreamStateUpdated),
FramesProcessed(FramesProcessed),
DataMoved(DataMoved),
RecoveryParametersSet(RecoveryParametersSet),
MetricsUpdated(MetricsUpdated),
CongestionStateUpdated(CongestionStateUpdated),
LossTimerUpdated(LossTimerUpdated),
PacketLost(PacketLost),
MarkedForRetransmit(MarkedForRetransmit),
H3ParametersSet(H3ParametersSet),
H3ParametersRestored(H3ParametersRestored),
H3StreamTypeSet(H3StreamTypeSet),
H3FrameCreated(H3FrameCreated),
H3FrameParsed(H3FrameParsed),
H3PushResolved(H3PushResolved),
QpackStateUpdated(QpackStateUpdated),
QpackStreamStateUpdated(QpackStreamStateUpdated),
QpackDynamicTableUpdated(QpackDynamicTableUpdated),
QpackHeadersEncoded(QpackHeadersEncoded),
QpackHeadersDecoded(QpackHeadersDecoded),
QpackInstructionCreated(QpackInstructionCreated),
QpackInstructionParsed(QpackInstructionParsed),
ConnectionError {
code: Option<ConnectionErrorCode>,
description: Option<String>,
},
ApplicationError {
code: Option<ApplicationErrorCode>,
description: Option<String>,
},
InternalError {
code: Option<u64>,
description: Option<String>,
},
InternalWarning {
code: Option<u64>,
description: Option<String>,
},
Message {
message: String,
},
Marker {
marker_type: String,
message: Option<String>,
},
}
Variants§
ServerListening(ServerListening)
ConnectionStarted(ConnectionStarted)
ConnectionClosed(ConnectionClosed)
ConnectionIdUpdated(ConnectionIdUpdated)
SpinBitUpdated(SpinBitUpdated)
ConnectionStateUpdated(ConnectionStateUpdated)
MtuUpdated(MtuUpdated)
KeyUpdated(KeyUpdated)
KeyDiscarded(KeyDiscarded)
VersionInformation(VersionInformation)
AlpnInformation(AlpnInformation)
TransportParametersSet(TransportParametersSet)
TransportParametersRestored(TransportParametersRestored)
DatagramsReceived(DatagramsReceived)
DatagramsSent(DatagramsSent)
DatagramDropped(DatagramDropped)
PacketReceived(PacketReceived)
PacketSent(PacketSent)
PacketDropped(PacketDropped)
PacketBuffered(PacketBuffered)
PacketsAcked(PacketsAcked)
StreamStateUpdated(StreamStateUpdated)
FramesProcessed(FramesProcessed)
DataMoved(DataMoved)
RecoveryParametersSet(RecoveryParametersSet)
MetricsUpdated(MetricsUpdated)
CongestionStateUpdated(CongestionStateUpdated)
LossTimerUpdated(LossTimerUpdated)
PacketLost(PacketLost)
MarkedForRetransmit(MarkedForRetransmit)
H3ParametersSet(H3ParametersSet)
H3ParametersRestored(H3ParametersRestored)
H3StreamTypeSet(H3StreamTypeSet)
H3FrameCreated(H3FrameCreated)
H3FrameParsed(H3FrameParsed)
H3PushResolved(H3PushResolved)
QpackStateUpdated(QpackStateUpdated)
QpackStreamStateUpdated(QpackStreamStateUpdated)
QpackDynamicTableUpdated(QpackDynamicTableUpdated)
QpackHeadersEncoded(QpackHeadersEncoded)
QpackHeadersDecoded(QpackHeadersDecoded)
QpackInstructionCreated(QpackInstructionCreated)
QpackInstructionParsed(QpackInstructionParsed)
ConnectionError
ApplicationError
InternalError
InternalWarning
Message
Marker
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventData
impl<'de> Deserialize<'de> for EventData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for EventData
Auto Trait Implementations§
impl Freeze for EventData
impl RefUnwindSafe for EventData
impl Send for EventData
impl Sync for EventData
impl Unpin for EventData
impl UnwindSafe for EventData
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