rocket::mtls::oid::asn1_rs

Trait 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>