Trait hyperx::header::RawLike [−][src]
pub trait RawLike<'a> {
type IntoIter: Iterator<Item = &'a [u8]> + 'a;
fn len(&'a self) -> usize;
fn one(&'a self) -> Option<&'a [u8]>;
fn iter(&'a self) -> Self::IntoIter;
}
Expand description
Trait for raw bytes parsing access to header values (aka lines) for a single header name.
Associated Types
Required methods
Return the single value (line), if and only if there is exactly
one. Otherwise return None
.