Struct routecore::bgpsec::KeyIdentifier
source · [−]pub struct KeyIdentifier(_);
Expand description
A key identifier.
This is the SHA-1 hash over the public key’s bits.
Implementations
Trait Implementations
sourceimpl AsRef<[u8]> for KeyIdentifier
impl AsRef<[u8]> for KeyIdentifier
sourceimpl Clone for KeyIdentifier
impl Clone for KeyIdentifier
sourcefn clone(&self) -> KeyIdentifier
fn clone(&self) -> KeyIdentifier
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
sourceimpl Debug for KeyIdentifier
impl Debug for KeyIdentifier
sourceimpl Display for KeyIdentifier
impl Display for KeyIdentifier
sourceimpl From<KeyIdentifier> for [u8; 20]
impl From<KeyIdentifier> for [u8; 20]
sourcefn from(src: KeyIdentifier) -> Self
fn from(src: KeyIdentifier) -> Self
Converts to this type from the input type.
sourceimpl FromStr for KeyIdentifier
impl FromStr for KeyIdentifier
sourceimpl Hash for KeyIdentifier
impl Hash for KeyIdentifier
sourceimpl Ord for KeyIdentifier
impl Ord for KeyIdentifier
sourceimpl<T: AsRef<[u8]>> PartialEq<T> for KeyIdentifier
impl<T: AsRef<[u8]>> PartialEq<T> for KeyIdentifier
sourceimpl PartialOrd<KeyIdentifier> for KeyIdentifier
impl PartialOrd<KeyIdentifier> for KeyIdentifier
sourcefn partial_cmp(&self, other: &KeyIdentifier) -> Option<Ordering>
fn partial_cmp(&self, other: &KeyIdentifier) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl<'a> TryFrom<&'a [u8]> for KeyIdentifier
impl<'a> TryFrom<&'a [u8]> for KeyIdentifier
impl Copy for KeyIdentifier
impl Eq for KeyIdentifier
impl StructuralEq for KeyIdentifier
Auto Trait Implementations
impl RefUnwindSafe for KeyIdentifier
impl Send for KeyIdentifier
impl Sync for KeyIdentifier
impl Unpin for KeyIdentifier
impl UnwindSafe for KeyIdentifier
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