[][src]Enum qlog::QPackInstruction

pub enum QPackInstruction {
    SetDynamicTableCapacityInstruction {
        instruction_type: QpackInstructionTypeName,
        capacity: u64,
    },
    InsertWithNameReferenceInstruction {
        instruction_type: QpackInstructionTypeName,
        table_type: QpackTableType,
        name_index: u64,
        huffman_encoded_value: bool,
        value_length: u64,
        value: String,
    },
    InsertWithoutNameReferenceInstruction {
        instruction_type: QpackInstructionTypeName,
        huffman_encoded_name: bool,
        name_length: u64,
        name: String,
        huffman_encoded_value: bool,
        value_length: u64,
        value: String,
    },
    DuplicateInstruction {
        instruction_type: QpackInstructionTypeName,
        index: u64,
    },
    HeaderAcknowledgementInstruction {
        instruction_type: QpackInstructionTypeName,
        stream_id: String,
    },
    StreamCancellationInstruction {
        instruction_type: QpackInstructionTypeName,
        stream_id: String,
    },
    InsertCountIncrementInstruction {
        instruction_type: QpackInstructionTypeName,
        increment: u64,
    },
}

Variants

SetDynamicTableCapacityInstruction

Fields of SetDynamicTableCapacityInstruction

instruction_type: QpackInstructionTypeNamecapacity: u64
InsertWithNameReferenceInstruction

Fields of InsertWithNameReferenceInstruction

instruction_type: QpackInstructionTypeNametable_type: QpackTableTypename_index: u64huffman_encoded_value: boolvalue_length: u64value: String
InsertWithoutNameReferenceInstruction

Fields of InsertWithoutNameReferenceInstruction

instruction_type: QpackInstructionTypeNamehuffman_encoded_name: boolname_length: u64name: Stringhuffman_encoded_value: boolvalue_length: u64value: String
DuplicateInstruction

Fields of DuplicateInstruction

instruction_type: QpackInstructionTypeNameindex: u64
HeaderAcknowledgementInstruction

Fields of HeaderAcknowledgementInstruction

instruction_type: QpackInstructionTypeNamestream_id: String
StreamCancellationInstruction

Fields of StreamCancellationInstruction

instruction_type: QpackInstructionTypeNamestream_id: String
InsertCountIncrementInstruction

Fields of InsertCountIncrementInstruction

instruction_type: QpackInstructionTypeNameincrement: u64

Trait Implementations

impl Clone for QPackInstruction[src]

impl Serialize for QPackInstruction[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.