[][src]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

type Owned: 'static

The owned version of the type.

Loading content...

Required methods

fn into_owned(self) -> Self::Owned

Converts self into an owned version of itself.

Loading content...

Implementations on Foreign Types

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

type Owned = Cow<'static, B>

impl<T> IntoOwned for Option<T> where
    T: IntoOwned
[src]

type Owned = Option<<T as IntoOwned>::Owned>

Loading content...

Implementors

impl<'a> IntoOwned for Uri<'a>[src]

type Owned = Uri<'static>

impl<'a> IntoOwned for Absolute<'a>[src]

type Owned = Absolute<'static>

impl<'a> IntoOwned for Authority<'a>[src]

type Owned = Authority<'static>

impl<'a> IntoOwned for Error<'a>[src]

type Owned = Error<'static>

impl<'a> IntoOwned for Origin<'a>[src]

type Owned = Origin<'static>

Loading content...