Trait rocket::mtls::oid::asn1_rs::ToStatic

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

    // Required method
    fn to_static(&self) -> Self::Owned;
}
Available on crate feature mtls only.

Required Associated Types§

source

type Owned: 'static

Required Methods§

source

fn to_static(&self) -> Self::Owned

Implementors§

source§

impl<'a> ToStatic for Header<'a>

§

type Owned = Header<'static>

source§

impl<'a> ToStatic for Sequence<'a>

§

type Owned = Sequence<'static>

source§

impl<'a> ToStatic for Set<'a>

§

type Owned = Set<'static>

source§

impl<T, U> ToStatic for Vec<T>
where T: ToStatic<Owned = U>, U: 'static,

§

type Owned = Vec<U>