Skip to main content

CacheKey

Type Alias CacheKey 

Source
pub type CacheKey = [u8; 20];
Expand description

The sha1 hash of the crate::PublicKey used as the key in Cache.

Trait Implementations§

Source§

impl From<&PublicKey> for CacheKey

Source§

fn from(public_key: &PublicKey) -> CacheKey

Converts to this type from the input type.
Source§

impl From<PublicKey> for CacheKey

Source§

fn from(value: PublicKey) -> Self

Converts to this type from the input type.