Struct libnghttp2_sys::nghttp2_priority_spec
source · #[repr(C)]pub struct nghttp2_priority_spec {
pub stream_id: i32,
pub weight: i32,
pub exclusive: u8,
}
Expand description
@struct
The structure to specify stream dependency.
Fields§
§stream_id: i32
The stream ID of the stream to depend on. Specifying 0 makes stream not depend any other stream.
weight: i32
The weight of this dependency.
exclusive: u8
nonzero means exclusive dependency
Trait Implementations§
source§impl Clone for nghttp2_priority_spec
impl Clone for nghttp2_priority_spec
source§fn clone(&self) -> nghttp2_priority_spec
fn clone(&self) -> nghttp2_priority_spec
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 nghttp2_priority_spec
impl Debug for nghttp2_priority_spec
impl Copy for nghttp2_priority_spec
Auto Trait Implementations§
impl Freeze for nghttp2_priority_spec
impl RefUnwindSafe for nghttp2_priority_spec
impl Send for nghttp2_priority_spec
impl Sync for nghttp2_priority_spec
impl Unpin for nghttp2_priority_spec
impl UnwindSafe for nghttp2_priority_spec
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