[−][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][+]
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,
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,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,