pub struct OwnedTrailer {
    pub token: OwnedToken,
    pub value: String,
}Expand description
A version of the Trailer which owns its token and
value. Useful for when you need to carry trailers around in a long
lived data structure.
Fields§
§token: OwnedToken§value: StringTrait Implementations§
Source§impl Debug for OwnedTrailer
 
impl Debug for OwnedTrailer
Source§impl<'a> From<&'a OwnedTrailer> for Trailer<'a>
 
impl<'a> From<&'a OwnedTrailer> for Trailer<'a>
Source§fn from(t: &'a OwnedTrailer) -> Trailer<'a>
 
fn from(t: &'a OwnedTrailer) -> Trailer<'a>
Converts to this type from the input type.
Source§impl<'a> From<&Trailer<'a>> for OwnedTrailer
 
impl<'a> From<&Trailer<'a>> for OwnedTrailer
Source§fn from(t: &Trailer<'a>) -> OwnedTrailer
 
fn from(t: &Trailer<'a>) -> OwnedTrailer
Converts to this type from the input type.
Source§impl From<CommitTrailer> for OwnedTrailer
 
impl From<CommitTrailer> for OwnedTrailer
Source§fn from(containing: CommitTrailer) -> OwnedTrailer
 
fn from(containing: CommitTrailer) -> OwnedTrailer
Converts to this type from the input type.
Source§impl<'a> From<Trailer<'a>> for OwnedTrailer
 
impl<'a> From<Trailer<'a>> for OwnedTrailer
Source§fn from(t: Trailer<'a>) -> OwnedTrailer
 
fn from(t: Trailer<'a>) -> OwnedTrailer
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OwnedTrailer
impl RefUnwindSafe for OwnedTrailer
impl Send for OwnedTrailer
impl Sync for OwnedTrailer
impl Unpin for OwnedTrailer
impl UnwindSafe for OwnedTrailer
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> 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