pub struct RSeq(pub u32);Expand description
The RSeq header (RFC 3262 §7.1).
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Ord for RSeq
impl Ord for RSeq
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RSeq
impl PartialOrd for RSeq
Source§impl TypedHeader for RSeq
impl TypedHeader for RSeq
Source§const NAME: HeaderName = HeaderName::RSeq
const NAME: HeaderName = HeaderName::RSeq
The header this type reads.
Source§fn decode(value: &[u8]) -> Result<Self, HeaderError>
fn decode(value: &[u8]) -> Result<Self, HeaderError>
Parse one header value. The value arrives unfolded and trimmed.
Source§const VALIDATE_LIST: bool = false
const VALIDATE_LIST: bool = false
Whether
Headers::typed_all must collect and validate the complete field before yielding. Read moreSource§fn decode_list(value: &[u8]) -> Result<Vec<Self>, HeaderError>
fn decode_list(value: &[u8]) -> Result<Vec<Self>, HeaderError>
Parse every value in one header row. Read more
Source§fn validate_list(_values: &[&Self]) -> Result<(), HeaderError>
fn validate_list(_values: &[&Self]) -> Result<(), HeaderError>
Validate all decoded values of this field across the complete message. Read more
impl Copy for RSeq
impl Eq for RSeq
impl StructuralPartialEq for RSeq
Auto Trait Implementations§
impl Freeze for RSeq
impl RefUnwindSafe for RSeq
impl Send for RSeq
impl Sync for RSeq
impl Unpin for RSeq
impl UnsafeUnpin for RSeq
impl UnwindSafe for RSeq
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