#[repr(C)]pub struct nghttp2_ext_priority_update {
pub stream_id: i32,
pub field_value: *mut u8,
pub field_value_len: usize,
}Expand description
@struct
The payload of PRIORITY_UPDATE frame. PRIORITY_UPDATE frame is a
non-critical extension to HTTP/2. If this frame is received, and
nghttp2_option_set_user_recv_extension_type() is not set, and
nghttp2_option_set_builtin_recv_extension_type() is set for
:enum:nghttp2_frame_type.NGHTTP2_PRIORITY_UPDATE,
nghttp2_extension.payload will point to this struct.
It has the following members:
Fields§
§stream_id: i32The stream ID of the stream whose priority is updated.
field_value: *mut u8The pointer to Priority field value. It is not necessarily NULL-terminated.
field_value_len: usizeThe length of the :member:field_value.
Trait Implementations§
Source§impl Clone for nghttp2_ext_priority_update
impl Clone for nghttp2_ext_priority_update
Source§fn clone(&self) -> nghttp2_ext_priority_update
fn clone(&self) -> nghttp2_ext_priority_update
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_ext_priority_update
impl Debug for nghttp2_ext_priority_update
impl Copy for nghttp2_ext_priority_update
Auto Trait Implementations§
impl Freeze for nghttp2_ext_priority_update
impl RefUnwindSafe for nghttp2_ext_priority_update
impl !Send for nghttp2_ext_priority_update
impl !Sync for nghttp2_ext_priority_update
impl Unpin for nghttp2_ext_priority_update
impl UnsafeUnpin for nghttp2_ext_priority_update
impl UnwindSafe for nghttp2_ext_priority_update
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