Type Alias holo_hash::ActionHash

source ·
pub type ActionHash = HoloHash<Action>;
Expand description

The hash of an action

Aliased Type§

struct ActionHash { /* private fields */ }

Trait Implementations§

source§

impl TryFrom<HoloHash<AnyDht>> for ActionHash

§

type Error = HashConversionError<AnyDht, Action>

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 ActionHash

§

type Error = HashConversionError<AnyLinkable, Action>

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

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

Performs the conversion.