#[repr(C)]pub struct nghttp2_extpri {
pub urgency: u32,
pub inc: c_int,
}Expand description
@struct
:type:nghttp2_extpri is :rfc:9218 extensible priorities
specification for a stream.
Fields§
§urgency: u32:member:urgency is the urgency of a stream, it must be in
[:macro:NGHTTP2_EXTPRI_URGENCY_HIGH,
:macro:NGHTTP2_EXTPRI_URGENCY_LOW], inclusive, and 0 is the
highest urgency.
inc: c_int:member:inc indicates that a content can be processed
incrementally or not. If inc is 0, it cannot be processed
incrementally. If inc is 1, it can be processed incrementally.
Other value is not permitted.
Trait Implementations§
Source§impl Clone for nghttp2_extpri
impl Clone for nghttp2_extpri
Source§fn clone(&self) -> nghttp2_extpri
fn clone(&self) -> nghttp2_extpri
Returns a duplicate 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 nghttp2_extpri
impl Debug for nghttp2_extpri
impl Copy for nghttp2_extpri
Auto Trait Implementations§
impl Freeze for nghttp2_extpri
impl RefUnwindSafe for nghttp2_extpri
impl Send for nghttp2_extpri
impl Sync for nghttp2_extpri
impl Unpin for nghttp2_extpri
impl UnwindSafe for nghttp2_extpri
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