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