Type Alias 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

Source§

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

Source§

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.