pub struct HeadersPriority {
pub dep: u32,
pub weight: u8,
pub exclusive: bool,
}Expand description
Stream priority parameters embedded in the HEADERS frame.
Fields§
§dep: u32Stream ID that this request depends on (typically 0).
weight: u8Priority weight (0-255).
exclusive: boolWhether this dependency is exclusive.
Trait Implementations§
Source§impl Clone for HeadersPriority
impl Clone for HeadersPriority
Source§fn clone(&self) -> HeadersPriority
fn clone(&self) -> HeadersPriority
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 HeadersPriority
impl Debug for HeadersPriority
Source§impl PartialEq for HeadersPriority
impl PartialEq for HeadersPriority
Source§fn eq(&self, other: &HeadersPriority) -> bool
fn eq(&self, other: &HeadersPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HeadersPriority
impl Eq for HeadersPriority
impl StructuralPartialEq for HeadersPriority
Auto Trait Implementations§
impl Freeze for HeadersPriority
impl RefUnwindSafe for HeadersPriority
impl Send for HeadersPriority
impl Sync for HeadersPriority
impl Unpin for HeadersPriority
impl UnsafeUnpin for HeadersPriority
impl UnwindSafe for HeadersPriority
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.