pub struct PriorityUpdate {
pub prioritized_stream_id: u32,
pub priority_field_value: Vec<u8>,
}Expand description
RFC 9218 §7.1 PRIORITY_UPDATE frame payload.
Fields§
§prioritized_stream_id: u32Identifier of the stream being re-prioritized (31-bit, reserved high
bit masked off). 0 MUST be treated as a connection error
(PROTOCOL_ERROR) by the handler.
priority_field_value: Vec<u8>Verbatim priority field value (SF-Item / ASCII). The handler passes
this through the same parse_rfc9218_priority helper used for the
priority request header.
Trait Implementations§
Source§impl Clone for PriorityUpdate
impl Clone for PriorityUpdate
Source§fn clone(&self) -> PriorityUpdate
fn clone(&self) -> PriorityUpdate
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 PriorityUpdate
impl Debug for PriorityUpdate
Source§impl PartialEq for PriorityUpdate
impl PartialEq for PriorityUpdate
Source§fn eq(&self, other: &PriorityUpdate) -> bool
fn eq(&self, other: &PriorityUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PriorityUpdate
Auto Trait Implementations§
impl Freeze for PriorityUpdate
impl RefUnwindSafe for PriorityUpdate
impl Send for PriorityUpdate
impl Sync for PriorityUpdate
impl Unpin for PriorityUpdate
impl UnsafeUnpin for PriorityUpdate
impl UnwindSafe for PriorityUpdate
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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