pub struct Http2Profile {
pub settings: SettingsFrame,
pub initial_connection_window_size: u32,
pub pseudo_order: [PseudoOrder; 4],
pub headers_priority: HeadersPriority,
}Expand description
Configuration for the HTTP/2 protocol layer.
Defines the Layer 5 identity, focusing on behavioral markers like pseudo-header ordering and stream priority.
Fields§
§settings: SettingsFrameInitial SETTINGS frame values and order.
initial_connection_window_size: u32Total connection-level window size (default + delta).
This value determines the initial WINDOW_UPDATE frame increment
sent immediately after the handshake. Chrome uses a specific non-standard
increment that acts as a strong identity signal.
pseudo_order: [PseudoOrder; 4]Ordering of pseudo-headers (e.g., :method, :authority, :scheme, :path).
headers_priority: HeadersPriorityPriority parameters for the initial HEADERS frame.
Trait Implementations§
Source§impl Clone for Http2Profile
impl Clone for Http2Profile
Source§fn clone(&self) -> Http2Profile
fn clone(&self) -> Http2Profile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Http2Profile
impl Debug for Http2Profile
Source§impl PartialEq for Http2Profile
impl PartialEq for Http2Profile
Source§fn eq(&self, other: &Http2Profile) -> bool
fn eq(&self, other: &Http2Profile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Http2Profile
impl Eq for Http2Profile
impl StructuralPartialEq for Http2Profile
Auto Trait Implementations§
impl Freeze for Http2Profile
impl RefUnwindSafe for Http2Profile
impl Send for Http2Profile
impl Sync for Http2Profile
impl Unpin for Http2Profile
impl UnsafeUnpin for Http2Profile
impl UnwindSafe for Http2Profile
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.