Struct h2::frame::settings::SettingsFlags
source · pub struct SettingsFlags(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl SettingsFlags
impl SettingsFlags
pub fn empty() -> SettingsFlags
pub fn load(bits: u8) -> SettingsFlags
pub fn ack() -> SettingsFlags
pub fn is_ack(&self) -> bool
Trait Implementations§
source§impl Clone for SettingsFlags
impl Clone for SettingsFlags
source§fn clone(&self) -> SettingsFlags
fn clone(&self) -> SettingsFlags
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 SettingsFlags
impl Debug for SettingsFlags
source§impl Default for SettingsFlags
impl Default for SettingsFlags
source§fn default() -> SettingsFlags
fn default() -> SettingsFlags
Returns the “default value” for a type. Read more
source§impl From<SettingsFlags> for u8
impl From<SettingsFlags> for u8
source§fn from(src: SettingsFlags) -> u8
fn from(src: SettingsFlags) -> u8
Converts to this type from the input type.
source§impl PartialEq for SettingsFlags
impl PartialEq for SettingsFlags
source§fn eq(&self, other: &SettingsFlags) -> bool
fn eq(&self, other: &SettingsFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SettingsFlags
impl Eq for SettingsFlags
impl StructuralPartialEq for SettingsFlags
Auto Trait Implementations§
impl Freeze for SettingsFlags
impl RefUnwindSafe for SettingsFlags
impl Send for SettingsFlags
impl Sync for SettingsFlags
impl Unpin for SettingsFlags
impl UnwindSafe for SettingsFlags
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<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.