pub enum Http3Frame {
Data {
raw: Option<RawInfo>,
},
Headers {
headers: Vec<HttpHeader>,
},
CancelPush {
push_id: u64,
},
Settings {
settings: Vec<Setting>,
},
PushPromise {
push_id: u64,
headers: Vec<HttpHeader>,
},
Goaway {
id: u64,
},
MaxPushId {
push_id: u64,
},
PriorityUpdate {
target_stream_type: H3PriorityTargetStreamType,
prioritized_element_id: u64,
priority_field_value: String,
},
Reserved {
length: Option<u64>,
},
Unknown {
frame_type_value: u64,
raw: Option<RawInfo>,
},
}
Variants§
Data
Headers
Fields
§
headers: Vec<HttpHeader>
CancelPush
Settings
PushPromise
Goaway
MaxPushId
PriorityUpdate
Fields
§
target_stream_type: H3PriorityTargetStreamType
Reserved
Unknown
Trait Implementations§
Source§impl Clone for Http3Frame
impl Clone for Http3Frame
Source§fn clone(&self) -> Http3Frame
fn clone(&self) -> Http3Frame
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 Http3Frame
impl Debug for Http3Frame
Source§impl<'de> Deserialize<'de> for Http3Frame
impl<'de> Deserialize<'de> for Http3Frame
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 Http3Frame
impl PartialEq for Http3Frame
Source§impl Serialize for Http3Frame
impl Serialize for Http3Frame
impl Eq for Http3Frame
impl StructuralPartialEq for Http3Frame
Auto Trait Implementations§
impl Freeze for Http3Frame
impl RefUnwindSafe for Http3Frame
impl Send for Http3Frame
impl Sync for Http3Frame
impl Unpin for Http3Frame
impl UnwindSafe for Http3Frame
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,
§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.