pub enum KeyLocatorData {
Name(Name),
KeyDigest(KeyDigest),
}
Variants§
Implementations§
Trait Implementations§
Source§impl AsMut<KeyLocatorData> for KeyLocator
impl AsMut<KeyLocatorData> for KeyLocator
Source§fn as_mut(&mut self) -> &mut KeyLocatorData
fn as_mut(&mut self) -> &mut KeyLocatorData
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<KeyLocatorData> for KeyLocator
impl AsRef<KeyLocatorData> for KeyLocator
Source§fn as_ref(&self) -> &KeyLocatorData
fn as_ref(&self) -> &KeyLocatorData
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for KeyLocatorData
impl Clone for KeyLocatorData
Source§fn clone(&self) -> KeyLocatorData
fn clone(&self) -> KeyLocatorData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KeyLocatorData
impl Debug for KeyLocatorData
Source§impl From<KeyLocator> for KeyLocatorData
impl From<KeyLocator> for KeyLocatorData
Source§fn from(original: KeyLocator) -> Self
fn from(original: KeyLocator) -> Self
Converts to this type from the input type.
Source§impl From<KeyLocatorData> for KeyLocator
impl From<KeyLocatorData> for KeyLocator
Source§fn from(original: KeyLocatorData) -> KeyLocator
fn from(original: KeyLocatorData) -> KeyLocator
Converts to this type from the input type.
Source§impl Hash for KeyLocatorData
impl Hash for KeyLocatorData
Source§impl PartialEq for KeyLocatorData
impl PartialEq for KeyLocatorData
Source§impl TlvDecode for KeyLocatorData
impl TlvDecode for KeyLocatorData
Source§impl TlvEncode for KeyLocatorData
impl TlvEncode for KeyLocatorData
impl Eq for KeyLocatorData
impl StructuralPartialEq for KeyLocatorData
Auto Trait Implementations§
impl !Freeze for KeyLocatorData
impl RefUnwindSafe for KeyLocatorData
impl Send for KeyLocatorData
impl Sync for KeyLocatorData
impl Unpin for KeyLocatorData
impl UnwindSafe for KeyLocatorData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more