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

pub trait ToStatic {
    type Owned: 'static;

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

Required Associated Types§

type Owned: 'static

Required Methods§

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

Implementors§

§

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

§

type Owned = Header<'static>

§

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

§

type Owned = Sequence<'static>

§

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

§

type Owned = Set<'static>

§

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

§

type Owned = Vec<U>