pub struct SettingsOrder { /* private fields */ }Expand description
Represents the order of settings in a SETTINGS frame.
This structure maintains an ordered list of SettingId values for use when encoding or decoding
HTTP/2 SETTINGS frames. The order of settings can be important for protocol compliance, testing,
or interoperability. SettingsOrder ensures that the specified order is preserved and that no
duplicate settings are present.
Typically, a SettingsOrder is constructed using the SettingsOrderBuilder to enforce uniqueness
and protocol-compliant ordering.
Implementations§
Source§impl SettingsOrder
impl SettingsOrder
Sourcepub fn builder() -> SettingsOrderBuilder
pub fn builder() -> SettingsOrderBuilder
Creates a new SettingsOrderBuilder.
Trait Implementations§
Source§impl Clone for SettingsOrder
impl Clone for SettingsOrder
Source§fn clone(&self) -> SettingsOrder
fn clone(&self) -> SettingsOrder
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 SettingsOrder
impl Debug for SettingsOrder
Source§impl Default for SettingsOrder
impl Default for SettingsOrder
Source§fn default() -> SettingsOrder
fn default() -> SettingsOrder
Returns the “default value” for a type. Read more
Source§impl Hash for SettingsOrder
impl Hash for SettingsOrder
Source§impl<'a> IntoIterator for &'a SettingsOrder
impl<'a> IntoIterator for &'a SettingsOrder
Source§impl PartialEq for SettingsOrder
impl PartialEq for SettingsOrder
Source§fn eq(&self, other: &SettingsOrder) -> bool
fn eq(&self, other: &SettingsOrder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SettingsOrder
impl StructuralPartialEq for SettingsOrder
Auto Trait Implementations§
impl Freeze for SettingsOrder
impl RefUnwindSafe for SettingsOrder
impl Send for SettingsOrder
impl Sync for SettingsOrder
impl Unpin for SettingsOrder
impl UnsafeUnpin for SettingsOrder
impl UnwindSafe for SettingsOrder
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.