Skip to main content

QuicFrameField

Enum QuicFrameField 

Source
#[non_exhaustive]
pub enum QuicFrameField {
Show 33 variants CryptoOffset, CryptoLength, CryptoData, TokenLength, Token, StreamId, StreamOffset, StreamLength, StreamData, MaximumData, MaximumStreamData, MaximumStreams, ApplicationErrorCode, ConnectionCloseErrorCode, TriggeringFrameType, ReasonPhraseLength, ReasonPhrase, FinalSize, PathData, SequenceNumber, RetirePriorTo, ConnectionIdLength, ConnectionId, StatelessResetToken, LargestAcknowledged, AckDelay, AckRangeCount, FirstAckRange, AckGap, AckRangeLength, Ect0Count, Ect1Count, EcnCeCount,
}
Expand description

Identifies a semantic field in a QUIC frame.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

CryptoOffset

The CRYPTO frame’s offset field.

§

CryptoLength

The CRYPTO frame’s data-length field.

§

CryptoData

The CRYPTO frame’s opaque data bytes.

§

TokenLength

The frame’s token-length field.

§

Token

The frame’s opaque token bytes.

§

StreamId

The frame’s stream-ID field.

§

StreamOffset

The STREAM frame’s offset field.

§

StreamLength

The STREAM frame’s data-length field.

§

StreamData

The STREAM frame’s opaque data bytes.

§

MaximumData

The frame’s maximum-data field.

§

MaximumStreamData

The frame’s maximum-stream-data field.

§

MaximumStreams

The frame’s maximum-streams field.

§

ApplicationErrorCode

The frame’s application-error-code field.

§

ConnectionCloseErrorCode

The CONNECTION_CLOSE frame’s error-code field.

§

TriggeringFrameType

The transport CONNECTION_CLOSE frame’s triggering-frame-type field.

§

ReasonPhraseLength

The CONNECTION_CLOSE frame’s reason-phrase-length field.

§

ReasonPhrase

The CONNECTION_CLOSE frame’s opaque reason-phrase bytes.

§

FinalSize

The frame’s final-size field.

§

PathData

The frame’s opaque path-validation data.

§

SequenceNumber

The frame’s connection-ID sequence-number field.

§

RetirePriorTo

The frame’s retire-prior-to field.

§

ConnectionIdLength

The frame’s connection-ID-length field.

§

ConnectionId

The frame’s opaque connection-ID bytes.

§

StatelessResetToken

The frame’s stateless-reset-token bytes.

§

LargestAcknowledged

The ACK frame’s largest-acknowledged field.

§

AckDelay

The ACK frame’s acknowledgment-delay field.

§

AckRangeCount

The ACK frame’s additional-range count field.

§

FirstAckRange

The ACK frame’s first acknowledgment-range field.

§

AckGap

An ACK frame’s additional-range gap field.

§

AckRangeLength

An ACK frame’s additional-range length field.

§

Ect0Count

The ACK_ECN frame’s ECT(0) count field.

§

Ect1Count

The ACK_ECN frame’s ECT(1) count field.

§

EcnCeCount

The ACK_ECN frame’s ECN-CE count field.

Trait Implementations§

Source§

impl Clone for QuicFrameField

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for QuicFrameField

Source§

impl Debug for QuicFrameField

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for QuicFrameField

Source§

impl PartialEq for QuicFrameField

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for QuicFrameField

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.