[−][src]Trait saphir::header::RawLike
Trait for raw bytes parsing access to header values (aka lines) for a single header name.
Associated Types
Loading content...Required methods
fn len(&'a self) -> usize
Return the number of values (lines) in the headers.
fn one(&'a self) -> Option<&'a [u8]>
Return the single value (line), if and only if there is exactly
one. Otherwise return None
.
fn iter(&'a self) -> Self::IntoIter
Iterate the values (lines) as raw bytes.
Implementors
impl<'a> RawLike<'a> for &'a HeaderValue
[src]
type IntoIter = Once<&'a [u8]>
fn len(&'a self) -> usize
[src]
fn one(&'a self) -> Option<&'a [u8]>
[src]
fn iter(&'a self) -> <&'a HeaderValue as RawLike<'a>>::IntoIter
[src]
impl<'a> RawLike<'a> for GetAll<'a, HeaderValue>
[src]
type IntoIter = ValueMapIter<'a>
fn len(&'a self) -> usize
[src]
fn one(&'a self) -> Option<&'a [u8]>
[src]
ⓘImportant traits for ValueMapIter<'a>fn iter(&'a self) -> ValueMapIter<'a>
[src]
ⓘImportant traits for ValueMapIter<'a>