pub struct RawUnstructured { /* private fields */ }
Expand description
A unstructured header field implementation which validates the given input but does not encode any utf8 even if it would have been necessary (it will error in that case) nor does it support breaking longer lines in multiple ones (no FWS marked for the encoder)
Implementations§
Trait Implementations§
Source§impl AsRef<str> for RawUnstructured
impl AsRef<str> for RawUnstructured
Source§impl Clone for RawUnstructured
impl Clone for RawUnstructured
Source§fn clone(&self) -> RawUnstructured
fn clone(&self) -> RawUnstructured
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 RawUnstructured
impl Debug for RawUnstructured
Source§impl EncodableInHeader for RawUnstructured
impl EncodableInHeader for RawUnstructured
fn encode(&self, handle: &mut EncodingWriter<'_>) -> Result<(), EncodingError>
fn boxed_clone(&self) -> Box<dyn EncodableInHeader>
Source§impl<T> From<T> for RawUnstructured
impl<T> From<T> for RawUnstructured
Source§impl Hash for RawUnstructured
impl Hash for RawUnstructured
Source§impl<T> HeaderTryFrom<T> for RawUnstructuredwhere
T: HeaderTryInto<Input>,
impl<T> HeaderTryFrom<T> for RawUnstructuredwhere
T: HeaderTryInto<Input>,
fn try_from(val: T) -> Result<Self, ComponentCreationError>
Source§impl Into<Input> for RawUnstructured
impl Into<Input> for RawUnstructured
Source§impl Into<String> for RawUnstructured
impl Into<String> for RawUnstructured
Source§impl PartialEq for RawUnstructured
impl PartialEq for RawUnstructured
impl Eq for RawUnstructured
impl StructuralPartialEq for RawUnstructured
Auto Trait Implementations§
impl Freeze for RawUnstructured
impl RefUnwindSafe for RawUnstructured
impl Send for RawUnstructured
impl Sync for RawUnstructured
impl Unpin for RawUnstructured
impl UnwindSafe for RawUnstructured
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