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§
Required Methods§
sourcefn into_owned(self) -> Self::Owned
fn into_owned(self) -> Self::Owned
Converts self
into an owned version of itself.