pub struct Unsupported(pub TokenList);Expand description
The Unsupported header (RFC 3261 §20.40).
Tuple Fields§
§0: TokenListTrait Implementations§
Source§impl Clone for Unsupported
impl Clone for Unsupported
Source§fn clone(&self) -> Unsupported
fn clone(&self) -> Unsupported
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 Unsupported
impl Debug for Unsupported
Source§impl Deref for Unsupported
impl Deref for Unsupported
Source§impl PartialEq for Unsupported
impl PartialEq for Unsupported
Source§fn eq(&self, other: &Unsupported) -> bool
fn eq(&self, other: &Unsupported) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TypedHeader for Unsupported
impl TypedHeader for Unsupported
Source§const NAME: HeaderName = HeaderName::Unsupported
const NAME: HeaderName = HeaderName::Unsupported
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 Eq for Unsupported
impl StructuralPartialEq for Unsupported
Auto Trait Implementations§
impl Freeze for Unsupported
impl RefUnwindSafe for Unsupported
impl Send for Unsupported
impl Sync for Unsupported
impl Unpin for Unsupported
impl UnsafeUnpin for Unsupported
impl UnwindSafe for Unsupported
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