Enum stream_httparse::header::HeaderValue [−][src]
Expand description
A single HeaderValue that can hold Data in a variety of forms allowing for easier and more flexible use
Variants
StrRef(&'a str)
Tuple Fields
0: &'a strStores the Value as a reference to a String
Str(String)
Tuple Fields
0: StringStores the Value as an owned String
NumberUsize(usize)
Tuple Fields
0: usizeStores the Value in its raw Number format
Implementations
Serializes the Value into the given Buffer by appending the Data to it
Turns the given Value, regardless of how it is stored, into an owned String
Compares the Two values without case
Any number type in either of them immediately returns false
Tries to return a reference to the underlying String, if it is a String, otherwise returns None
Clones all the needed Data in order to create a new HeaderValue that is completly independant of the given self reference
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> RefUnwindSafe for HeaderValue<'a>
impl<'a> Send for HeaderValue<'a>
impl<'a> Sync for HeaderValue<'a>
impl<'a> Unpin for HeaderValue<'a>
impl<'a> UnwindSafe for HeaderValue<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
