rocket::http::ext

Trait IntoOwned

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§

type Owned: 'static

The owned version of the type.

Required Methods§

fn into_owned(self) -> Self::Owned

Converts self into an owned version of itself.

Implementations on Foreign Types§

§

impl IntoOwned for bool

§

type Owned = bool

§

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

§

impl IntoOwned for i8

§

type Owned = i8

§

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

§

impl IntoOwned for i16

§

type Owned = i16

§

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

§

impl IntoOwned for i32

§

type Owned = i32

§

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

§

impl IntoOwned for i64

§

type Owned = i64

§

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

§

impl IntoOwned for isize

§

type Owned = isize

§

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

§

impl IntoOwned for u8

§

type Owned = u8

§

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

§

impl IntoOwned for u16

§

type Owned = u16

§

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

§

impl IntoOwned for u32

§

type Owned = u32

§

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

§

impl IntoOwned for u64

§

type Owned = u64

§

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

§

impl IntoOwned for usize

§

type Owned = usize

§

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

§

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

§

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

§

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

§

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

§

type Owned = Cow<'static, B>

§

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

§

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

§

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

§

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

Implementors§

Source§

impl IntoOwned for ErrorKind<'_>

Source§

type Owned = ErrorKind<'static>

§

impl IntoOwned for Uri<'_>

§

type Owned = Uri<'static>

Source§

impl IntoOwned for NameBuf<'_>

Source§

type Owned = NameBuf<'static>

Source§

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

Source§

type Owned = Error<'static>

Source§

impl IntoOwned for Errors<'_>

Source§

type Owned = Errors<'static>

§

impl IntoOwned for Absolute<'_>

§

type Owned = Absolute<'static>

§

impl IntoOwned for Authority<'_>

§

type Owned = Authority<'static>

§

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

§

type Owned = Error<'static>

§

impl IntoOwned for Host<'_>

§

type Owned = Host<'static>

§

impl IntoOwned for Origin<'_>

§

type Owned = Origin<'static>

§

impl IntoOwned for Reference<'_>

§

type Owned = Reference<'static>

§

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

§

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

§

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

§

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