Struct tor_cert::KeyUnknownCert
source · [−]pub struct KeyUnknownCert { /* private fields */ }Expand description
A parsed Ed25519 certificate. Maybe it includes its signing key; maybe it doesn’t.
Implementations
sourceimpl KeyUnknownCert
impl KeyUnknownCert
sourcepub fn peek_cert_type(&self) -> CertType
pub fn peek_cert_type(&self) -> CertType
Return the certificate type of the underling cert.
sourcepub fn peek_subject_key(&self) -> &CertifiedKey
pub fn peek_subject_key(&self) -> &CertifiedKey
Return subject key of the underlying cert.
Trait Implementations
sourceimpl Clone for KeyUnknownCert
impl Clone for KeyUnknownCert
sourcefn clone(&self) -> KeyUnknownCert
fn clone(&self) -> KeyUnknownCert
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for KeyUnknownCert
impl Send for KeyUnknownCert
impl Sync for KeyUnknownCert
impl Unpin for KeyUnknownCert
impl UnwindSafe for KeyUnknownCert
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more