pub enum QpackHeaderBlockRepresentation {
IndexedHeaderField {
header_field_type: QpackHeaderBlockRepresentationTypeName,
table_type: QpackTableType,
index: u64,
is_post_base: Option<bool>,
},
LiteralHeaderFieldWithName {
header_field_type: QpackHeaderBlockRepresentationTypeName,
preserve_literal: bool,
table_type: QpackTableType,
name_index: u64,
huffman_encoded_value: bool,
value_length: u64,
value: String,
is_post_base: Option<bool>,
},
LiteralHeaderFieldWithoutName {
header_field_type: QpackHeaderBlockRepresentationTypeName,
preserve_literal: bool,
table_type: QpackTableType,
name_index: u64,
huffman_encoded_name: bool,
name_length: u64,
name: String,
huffman_encoded_value: bool,
value_length: u64,
value: String,
is_post_base: Option<bool>,
},
}
Variants§
IndexedHeaderField
LiteralHeaderFieldWithName
LiteralHeaderFieldWithoutName
Trait Implementations§
Source§impl Clone for QpackHeaderBlockRepresentation
impl Clone for QpackHeaderBlockRepresentation
Source§fn clone(&self) -> QpackHeaderBlockRepresentation
fn clone(&self) -> QpackHeaderBlockRepresentation
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<'de> Deserialize<'de> for QpackHeaderBlockRepresentation
impl<'de> Deserialize<'de> for QpackHeaderBlockRepresentation
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 QpackHeaderBlockRepresentation
impl PartialEq for QpackHeaderBlockRepresentation
Source§fn eq(&self, other: &QpackHeaderBlockRepresentation) -> bool
fn eq(&self, other: &QpackHeaderBlockRepresentation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for QpackHeaderBlockRepresentation
impl StructuralPartialEq for QpackHeaderBlockRepresentation
Auto Trait Implementations§
impl Freeze for QpackHeaderBlockRepresentation
impl RefUnwindSafe for QpackHeaderBlockRepresentation
impl Send for QpackHeaderBlockRepresentation
impl Sync for QpackHeaderBlockRepresentation
impl Unpin for QpackHeaderBlockRepresentation
impl UnwindSafe for QpackHeaderBlockRepresentation
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.