[][src]Enum qlog::QuicFrame

pub enum QuicFrame {
    Padding {
        frame_type: QuicFrameTypeName,
    },
    Ping {
        frame_type: QuicFrameTypeName,
    },
    Ack {
        frame_type: QuicFrameTypeName,
        ack_delay: Option<String>,
        acked_ranges: Option<Vec<(u64, u64)>>,
        ect1: Option<String>,
        ect0: Option<String>,
        ce: Option<String>,
    },
    ResetStream {
        frame_type: QuicFrameTypeName,
        stream_id: String,
        error_code: u64,
        final_size: String,
    },
    StopSending {
        frame_type: QuicFrameTypeName,
        stream_id: String,
        error_code: u64,
    },
    Crypto {
        frame_type: QuicFrameTypeName,
        offset: String,
        length: String,
    },
    NewToken {
        frame_type: QuicFrameTypeName,
        length: String,
        token: String,
    },
    Stream {
        frame_type: QuicFrameTypeName,
        stream_id: String,
        offset: String,
        length: String,
        fin: bool,
        raw: Option<String>,
    },
    MaxData {
        frame_type: QuicFrameTypeName,
        maximum: String,
    },
    MaxStreamData {
        frame_type: QuicFrameTypeName,
        stream_id: String,
        maximum: String,
    },
    MaxStreams {
        frame_type: QuicFrameTypeName,
        stream_type: StreamType,
        maximum: String,
    },
    DataBlocked {
        frame_type: QuicFrameTypeName,
        limit: String,
    },
    StreamDataBlocked {
        frame_type: QuicFrameTypeName,
        stream_id: String,
        limit: String,
    },
    StreamsBlocked {
        frame_type: QuicFrameTypeName,
        stream_type: StreamType,
        limit: String,
    },
    NewConnectionId {
        frame_type: QuicFrameTypeName,
        sequence_number: String,
        retire_prior_to: String,
        length: u64,
        connection_id: String,
        reset_token: String,
    },
    RetireConnectionId {
        frame_type: QuicFrameTypeName,
        sequence_number: String,
    },
    PathChallenge {
        frame_type: QuicFrameTypeName,
        data: Option<String>,
    },
    PathResponse {
        frame_type: QuicFrameTypeName,
        data: Option<String>,
    },
    ConnectionClose {
        frame_type: QuicFrameTypeName,
        error_space: ErrorSpace,
        error_code: u64,
        raw_error_code: u64,
        reason: String,
        trigger_frame_type: Option<String>,
    },
    HandshakeDone {
        frame_type: QuicFrameTypeName,
    },
    Datagram {
        frame_type: QuicFrameTypeName,
        length: String,
        raw: Option<String>,
    },
    Unknown {
        frame_type: QuicFrameTypeName,
        raw_frame_type: u64,
    },
}

Variants

Padding

Fields of Padding

frame_type: QuicFrameTypeName
Ping

Fields of Ping

frame_type: QuicFrameTypeName
Ack

Fields of Ack

frame_type: QuicFrameTypeNameack_delay: Option<String>acked_ranges: Option<Vec<(u64, u64)>>ect1: Option<String>ect0: Option<String>ce: Option<String>
ResetStream

Fields of ResetStream

frame_type: QuicFrameTypeNamestream_id: Stringerror_code: u64final_size: String
StopSending

Fields of StopSending

frame_type: QuicFrameTypeNamestream_id: Stringerror_code: u64
Crypto

Fields of Crypto

frame_type: QuicFrameTypeNameoffset: Stringlength: String
NewToken

Fields of NewToken

frame_type: QuicFrameTypeNamelength: Stringtoken: String
Stream

Fields of Stream

frame_type: QuicFrameTypeNamestream_id: Stringoffset: Stringlength: Stringfin: boolraw: Option<String>
MaxData

Fields of MaxData

frame_type: QuicFrameTypeNamemaximum: String
MaxStreamData

Fields of MaxStreamData

frame_type: QuicFrameTypeNamestream_id: Stringmaximum: String
MaxStreams

Fields of MaxStreams

frame_type: QuicFrameTypeNamestream_type: StreamTypemaximum: String
DataBlocked

Fields of DataBlocked

frame_type: QuicFrameTypeNamelimit: String
StreamDataBlocked

Fields of StreamDataBlocked

frame_type: QuicFrameTypeNamestream_id: Stringlimit: String
StreamsBlocked

Fields of StreamsBlocked

frame_type: QuicFrameTypeNamestream_type: StreamTypelimit: String
NewConnectionId

Fields of NewConnectionId

frame_type: QuicFrameTypeNamesequence_number: Stringretire_prior_to: Stringlength: u64connection_id: Stringreset_token: String
RetireConnectionId

Fields of RetireConnectionId

frame_type: QuicFrameTypeNamesequence_number: String
PathChallenge

Fields of PathChallenge

frame_type: QuicFrameTypeNamedata: Option<String>
PathResponse

Fields of PathResponse

frame_type: QuicFrameTypeNamedata: Option<String>
ConnectionClose

Fields of ConnectionClose

frame_type: QuicFrameTypeNameerror_space: ErrorSpaceerror_code: u64raw_error_code: u64reason: Stringtrigger_frame_type: Option<String>
HandshakeDone

Fields of HandshakeDone

frame_type: QuicFrameTypeName
Datagram

Fields of Datagram

frame_type: QuicFrameTypeNamelength: Stringraw: Option<String>
Unknown

Fields of Unknown

frame_type: QuicFrameTypeNameraw_frame_type: u64

Implementations

impl QuicFrame[src]

pub fn padding() -> Self[src]

pub fn ping() -> Self[src]

pub fn ack(
    ack_delay: Option<String>,
    acked_ranges: Option<Vec<(u64, u64)>>,
    ect1: Option<String>,
    ect0: Option<String>,
    ce: Option<String>
) -> Self
[src]

pub fn reset_stream(
    stream_id: String,
    error_code: u64,
    final_size: String
) -> Self
[src]

pub fn stop_sending(stream_id: String, error_code: u64) -> Self[src]

pub fn crypto(offset: String, length: String) -> Self[src]

pub fn new_token(length: String, token: String) -> Self[src]

pub fn stream(
    stream_id: String,
    offset: String,
    length: String,
    fin: bool,
    raw: Option<String>
) -> Self
[src]

pub fn max_data(maximum: String) -> Self[src]

pub fn max_stream_data(stream_id: String, maximum: String) -> Self[src]

pub fn max_streams(stream_type: StreamType, maximum: String) -> Self[src]

pub fn data_blocked(limit: String) -> Self[src]

pub fn stream_data_blocked(stream_id: String, limit: String) -> Self[src]

pub fn streams_blocked(stream_type: StreamType, limit: String) -> Self[src]

pub fn new_connection_id(
    sequence_number: String,
    retire_prior_to: String,
    length: u64,
    connection_id: String,
    reset_token: String
) -> Self
[src]

pub fn retire_connection_id(sequence_number: String) -> Self[src]

pub fn path_challenge(data: Option<String>) -> Self[src]

pub fn path_response(data: Option<String>) -> Self[src]

pub fn connection_close(
    error_space: ErrorSpace,
    error_code: u64,
    raw_error_code: u64,
    reason: String,
    trigger_frame_type: Option<String>
) -> Self
[src]

pub fn handshake_done() -> Self[src]

pub fn datagram(length: String, raw: Option<String>) -> Self[src]

pub fn unknown(raw_frame_type: u64) -> Self[src]

Trait Implementations

impl Clone for QuicFrame[src]

impl Serialize for QuicFrame[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.