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