pub struct To(pub Mailboxes);
Expand description
To:
header
This header contains Mailboxes
.
Tuple Fields§
§0: Mailboxes
Trait Implementations§
Source§impl Header for To
impl Header for To
Source§fn header_name() -> &'static str
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
Source§fn parse_header(raw: &Raw) -> HyperResult<To>
fn parse_header(raw: &Raw) -> HyperResult<To>
Parse a header from a raw stream of bytes. Read more
Source§fn fmt_header(&self, f: &mut HeaderFormatter<'_, '_>) -> FmtResult
fn fmt_header(&self, f: &mut HeaderFormatter<'_, '_>) -> FmtResult
Format a header to outgoing stream. Read more
Source§impl MailboxesHeader for To
impl MailboxesHeader for To
fn join_mailboxes(&mut self, other: Self)
impl StructuralPartialEq for To
Auto Trait Implementations§
impl Freeze for To
impl RefUnwindSafe for To
impl Send for To
impl Sync for To
impl Unpin for To
impl UnwindSafe for To
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more