[][src]Struct saphir::header::Raw

pub struct Raw(_);

A raw header value.

Methods

impl Raw[src]

pub fn push<V>(&mut self, val: V) where
    V: Into<Raw>, 
[src]

Append a line to this Raw header value.

Trait Implementations

impl Clone for Raw[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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.

impl PartialEq<[u8]> for Raw[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<[&'a [u8]]> for Raw[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<str> for Raw[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<[&'a str]> for Raw[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<Raw> for Raw[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<[String]> for Raw[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl PartialEq<[Vec<u8>]> for Raw[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Index<usize> for Raw[src]

type Output = [u8]

The returned type after indexing.

impl Eq for Raw[src]

impl From<Vec<u8>> for Raw[src]

impl From<Vec<Vec<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<'a> From<&'a [u8]> for Raw[src]

impl Debug for Raw[src]

impl<'a> RawLike<'a> for Raw[src]

type IntoIter = RawLines<'a>

The associated type of Iterator over values.

Auto Trait Implementations

impl Send for Raw

impl Sync for Raw

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T