Struct rustls::OwnedTrustAnchor [−][src]
pub struct OwnedTrustAnchor { /* fields omitted */ }
Expand description
This is like a webpki::TrustAnchor
, except it owns
rather than borrows its memory. That prevents lifetimes
leaking up the object tree.
Implementations
Copy a webpki::TrustAnchor
into owned memory
Get a webpki::TrustAnchor
by borrowing the owned elements.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for OwnedTrustAnchor
impl Send for OwnedTrustAnchor
impl Sync for OwnedTrustAnchor
impl Unpin for OwnedTrustAnchor
impl UnwindSafe for OwnedTrustAnchor
Blanket Implementations
Mutably borrows from an owned value. Read more