Type Alias holo_hash::EntryHash

source ·
pub type EntryHash = HoloHash<Entry>;
Expand description

The hash of an Entry.

Aliased Type§

struct EntryHash { /* private fields */ }

Trait Implementations§

source§

impl From<HoloHash<Agent>> for EntryHash

source§

fn from(hash: AgentPubKey) -> EntryHash

Converts to this type from the input type.
source§

impl TryFrom<HoloHash<AnyDht>> for EntryHash

§

type Error = HashConversionError<AnyDht, Entry>

The type returned in the event of a conversion error.
source§

fn try_from(hash: AnyDhtHash) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<HoloHash<AnyLinkable>> for EntryHash

§

type Error = HashConversionError<AnyLinkable, Entry>

The type returned in the event of a conversion error.
source§

fn try_from(hash: AnyLinkableHash) -> Result<Self, Self::Error>

Performs the conversion.