Type Alias holo_hash::AgentPubKey

source ·
pub type AgentPubKey = HoloHash<Agent>;
Expand description

An Agent public signing key. Not really a hash, more of an “identity hash”.

Aliased Type§

struct AgentPubKey { /* private fields */ }

Trait Implementations§

source§

impl From<HoloHash<Entry>> for AgentPubKey

source§

fn from(hash: EntryHash) -> AgentPubKey

Converts to this type from the input type.
source§

impl TryFrom<HoloHash<AnyDht>> for AgentPubKey

§

type Error = HashConversionError<AnyDht, Agent>

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 AgentPubKey

§

type Error = HashConversionError<AnyLinkable, Agent>

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

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

Performs the conversion.