Trait rocket::mtls::x509::der_parser::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>

source§

type Owned = Header<'static>

source§

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

source§

type Owned = Sequence<'static>

source§

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

source§

type Owned = Set<'static>

source§

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

source§

type Owned = Vec<U>