#[non_exhaustive]pub enum DatagramDropReason {
DecodingFailed {},
InvalidRetryToken {},
UnsupportedVersion {},
InvalidDestinationConnectionId {},
InvalidSourceConnectionId {},
UnknownDestinationConnectionId {},
RejectedConnectionAttempt {},
UnknownServerAddress {},
ConnectionMigrationDuringHandshake {},
RejectedConnectionMigration {},
PathLimitExceeded {},
InsufficientConnectionIds {},
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DecodingFailed
There was an error while attempting to decode the datagram.
InvalidRetryToken
There was an error while parsing the Retry token.
UnsupportedVersion
The peer specified an unsupported QUIC version.
InvalidDestinationConnectionId
The peer sent an invalid Destination Connection Id.
InvalidSourceConnectionId
The peer sent an invalid Source Connection Id.
UnknownDestinationConnectionId
The Destination Connection Id is unknown and does not map to a Connection.
Connections are mapped to Destination Connections Ids (DCID) and packets in a Datagram are routed to a connection based on the DCID in the first packet. If a Connection is not found for the specified DCID then the datagram can not be processed and is dropped.
RejectedConnectionAttempt
The connection attempt was rejected.
UnknownServerAddress
A datagram was received from an unknown server address.
ConnectionMigrationDuringHandshake
The peer initiated a connection migration before the handshake was confirmed.
RejectedConnectionMigration
The attempted connection migration was rejected.
PathLimitExceeded
The maximum number of paths per connection was exceeded.
InsufficientConnectionIds
The peer initiated a connection migration without supplying enough connection IDs to use.
Trait Implementations§
source§impl Clone for DatagramDropReason
impl Clone for DatagramDropReason
source§fn clone(&self) -> DatagramDropReason
fn clone(&self) -> DatagramDropReason
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more