[−][src]Enum solicit::http::frame::settings::HttpSetting
An enum that lists all valid settings that can be sent in a SETTINGS frame.
Each setting has a value that is a 32 bit unsigned integer (6.5.1.).
Variants
HeaderTableSize(u32)EnablePush(u32)MaxConcurrentStreams(u32)InitialWindowSize(u32)MaxFrameSize(u32)MaxHeaderListSize(u32)Implementations
impl HttpSetting[src]
pub fn from_id(id: u16, val: u32) -> Option<HttpSetting>[src]
Creates a new HttpSetting with the correct variant corresponding to
the given setting id, based on the settings IDs defined in section
6.5.2.
pub fn get_id(&self) -> u16[src]
Returns the setting ID as an unsigned 16 bit integer, as defined in section 6.5.2.
pub fn get_val(&self) -> u32[src]
Gets the setting value by unpacking it from the wrapped u32.
Trait Implementations
impl Clone for HttpSetting[src]
fn clone(&self) -> HttpSetting[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for HttpSetting[src]
impl Debug for HttpSetting[src]
impl PartialEq<HttpSetting> for HttpSetting[src]
fn eq(&self, other: &HttpSetting) -> bool[src]
fn ne(&self, other: &HttpSetting) -> bool[src]
impl StructuralPartialEq for HttpSetting[src]
Auto Trait Implementations
impl RefUnwindSafe for HttpSetting
impl Send for HttpSetting
impl Sync for HttpSetting
impl Unpin for HttpSetting
impl UnwindSafe for HttpSetting
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,