Struct h2::frame::headers::HeadersFlag
source · pub struct HeadersFlag(u8);
Tuple Fields§
§0: u8
Implementations§
source§impl HeadersFlag
impl HeadersFlag
pub fn empty() -> HeadersFlag
pub fn load(bits: u8) -> HeadersFlag
pub fn is_end_stream(&self) -> bool
pub fn set_end_stream(&mut self)
pub fn is_end_headers(&self) -> bool
pub fn set_end_headers(&mut self)
pub fn is_padded(&self) -> bool
pub fn is_priority(&self) -> bool
Trait Implementations§
source§impl Clone for HeadersFlag
impl Clone for HeadersFlag
source§fn clone(&self) -> HeadersFlag
fn clone(&self) -> HeadersFlag
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 HeadersFlag
impl Debug for HeadersFlag
source§impl Default for HeadersFlag
impl Default for HeadersFlag
source§impl From<HeadersFlag> for u8
impl From<HeadersFlag> for u8
source§fn from(src: HeadersFlag) -> u8
fn from(src: HeadersFlag) -> u8
Converts to this type from the input type.
source§impl PartialEq for HeadersFlag
impl PartialEq for HeadersFlag
impl Copy for HeadersFlag
impl Eq for HeadersFlag
impl StructuralPartialEq for HeadersFlag
Auto Trait Implementations§
impl Freeze for HeadersFlag
impl RefUnwindSafe for HeadersFlag
impl Send for HeadersFlag
impl Sync for HeadersFlag
impl Unpin for HeadersFlag
impl UnwindSafe for HeadersFlag
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.