[−][src]Struct hyper::header::Raw
A raw header value.
Methods
impl Raw
[src]
pub fn len(&self) -> usize
[src]
Returns the amount of lines.
pub fn one(&self) -> Option<&[u8]>
[src]
Returns the line if there is only 1.
pub fn iter(&self) -> RawLines
[src]
Iterate the lines of raw bytes.
pub fn push<V: Into<Raw>>(&mut self, val: V)
[src]
Append a line to this Raw
header value.
Trait Implementations
impl Clone for Raw
[src]
impl Debug for Raw
[src]
impl Eq for Raw
[src]
impl<'a> From<&'a [u8]> for Raw
[src]
impl<'a> From<&'a str> for Raw
[src]
impl From<Bytes> for Raw
[src]
impl From<String> for Raw
[src]
impl From<Vec<Vec<u8>>> for Raw
[src]
impl From<Vec<u8>> for Raw
[src]
impl Index<usize> for Raw
[src]
impl<'a> IntoIterator for &'a Raw
[src]
type IntoIter = RawLines<'a>
Which kind of iterator are we turning this into?
type Item = &'a [u8]
The type of the elements being iterated over.
fn into_iter(self) -> RawLines<'a>
[src]
impl<'a> PartialEq<[&'a [u8]]> for Raw
[src]
impl<'a> PartialEq<[&'a str]> for Raw
[src]
impl PartialEq<[String]> for Raw
[src]
impl PartialEq<[Vec<u8>]> for Raw
[src]
impl PartialEq<[u8]> for Raw
[src]
impl PartialEq<Raw> for Raw
[src]
impl PartialEq<str> for Raw
[src]
Auto Trait Implementations
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnwindSafe for Raw
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,