Trait rocket::http::ext::IntoOwned

source ·
pub trait IntoOwned {
    type Owned: 'static;

    // Required method
    fn into_owned(self) -> Self::Owned;
}
Expand description

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

Required Associated Types§

source

type Owned: 'static

The owned version of the type.

Required Methods§

source

fn into_owned(self) -> Self::Owned

Converts self into an owned version of itself.

Implementations on Foreign Types§

source§

impl IntoOwned for i64

source§

impl IntoOwned for i32

source§

impl IntoOwned for u32

source§

impl<T> IntoOwned for Vec<T, Global>where T: IntoOwned,

source§

impl IntoOwned for bool

source§

impl IntoOwned for i16

source§

impl<T> IntoOwned for InitCell<T>where T: IntoOwned + Send + Sync, <T as IntoOwned>::Owned: Send + Sync,

source§

impl<A, B> IntoOwned for (A, B)where A: IntoOwned, B: IntoOwned,

§

type Owned = (<A as IntoOwned>::Owned, <B as IntoOwned>::Owned)

source§

fn into_owned(self) -> <(A, B) as IntoOwned>::Owned

source§

impl IntoOwned for u8

§

type Owned = u8

source§

fn into_owned(self) -> <u8 as IntoOwned>::Owned

source§

impl IntoOwned for u64

source§

impl IntoOwned for i8

§

type Owned = i8

source§

fn into_owned(self) -> <i8 as IntoOwned>::Owned

source§

impl IntoOwned for usize

source§

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

source§

impl IntoOwned for u16

source§

impl IntoOwned for isize

source§

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

§

type Owned = Cow<'static, B>

source§

fn into_owned(self) -> <Cow<'_, B> as IntoOwned>::Owned

Implementors§

source§

impl IntoOwned for ErrorKind<'_>

§

type Owned = ErrorKind<'static>

source§

impl IntoOwned for Uri<'_>

§

type Owned = Uri<'static>

source§

impl IntoOwned for NameBuf<'_>

§

type Owned = NameBuf<'static>

source§

impl IntoOwned for rocket::form::Error<'_>

§

type Owned = Error<'static>

source§

impl IntoOwned for Errors<'_>

§

type Owned = Errors<'static>

source§

impl IntoOwned for Absolute<'_>

§

type Owned = Absolute<'static>

source§

impl IntoOwned for Authority<'_>

§

type Owned = Authority<'static>

source§

impl IntoOwned for rocket::http::uri::Error<'_>

§

type Owned = Error<'static>

source§

impl IntoOwned for Host<'_>

§

type Owned = Host<'static>

source§

impl IntoOwned for Origin<'_>

§

type Owned = Origin<'static>

source§

impl IntoOwned for Reference<'_>

§

type Owned = Reference<'static>