[]Trait rocket::http::ext::IntoOwned

pub trait IntoOwned {
    type Owned: 'static;
    fn into_owned(self) -> Self::Owned;
}

Trait implemented by types that can be converted into owned versions of themselves.

Associated Types

The owned version of the type.

Required Methods

Converts self into an owned version of itself.

Implementations on Foreign Types

impl<T> IntoOwned for Option<T> where
    T: IntoOwned

impl<'a, B> IntoOwned for Cow<'a, B> where
    B: 'static + ToOwned + ?Sized

Implementors

impl<'a> IntoOwned for Uri<'a>

impl<'a> IntoOwned for Absolute<'a>

impl<'a> IntoOwned for Authority<'a>

impl<'a> IntoOwned for Error<'a>

impl<'a> IntoOwned for Origin<'a>