pub enum CryptoUriKind {
Hash(Hash),
PublicKey(PublicKey),
SecretKey(SecretKey),
Signature(Signature),
}Expand description
Kinds of CryptoUris
Variants§
Hash(Hash)
Hashes (i.e. cryptographic digests)
PublicKey(PublicKey)
Public keys (always asymmetric)
SecretKey(SecretKey)
Secret keys (symmetric or asymmetric)
Signature(Signature)
Digital signatures (always asymmetric)
Auto Trait Implementations§
impl Freeze for CryptoUriKind
impl RefUnwindSafe for CryptoUriKind
impl Send for CryptoUriKind
impl Sync for CryptoUriKind
impl Unpin for CryptoUriKind
impl UnwindSafe for CryptoUriKind
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