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
InsertWithNameReferenceInstruction
InsertWithoutNameReferenceInstruction
Fields
§
instruction_type: QpackInstructionTypeName
DuplicateInstruction
HeaderAcknowledgementInstruction
StreamCancellationInstruction
InsertCountIncrementInstruction
Trait Implementations§
Source§impl Clone for QPackInstruction
impl Clone for QPackInstruction
Source§fn clone(&self) -> QPackInstruction
fn clone(&self) -> QPackInstruction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for QPackInstruction
impl Debug for QPackInstruction
Source§impl<'de> Deserialize<'de> for QPackInstruction
impl<'de> Deserialize<'de> for QPackInstruction
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
Source§impl PartialEq for QPackInstruction
impl PartialEq for QPackInstruction
Source§impl Serialize for QPackInstruction
impl Serialize for QPackInstruction
impl Eq for QPackInstruction
impl StructuralPartialEq for QPackInstruction
Auto Trait Implementations§
impl Freeze for QPackInstruction
impl RefUnwindSafe for QPackInstruction
impl Send for QPackInstruction
impl Sync for QPackInstruction
impl Unpin for QPackInstruction
impl UnwindSafe for QPackInstruction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.