Type Alias ActionHash

Source
pub type ActionHash = HoloHash<Action>;
Expand description

The hash of an action

Aliased Type§

pub struct ActionHash { /* private fields */ }

Trait Implementations§

Source§

impl TryFrom<HoloHash<AnyDht>> for ActionHash

Source§

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

Source§

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.