IsHash

Type Alias IsHash 

Source
pub type IsHash = Marker<Cons<X5, Cons<X8, Cons<XC, Cons<XB, Cons<X9, Cons<XF, Cons<XD, Cons<X8, Cons<X7, Cons<X5, Cons<X8, Cons<XA, Cons<XE, Cons<XB, Cons<XF, ConstStream<X1>>>>>>>>>>>>>>>>>;
Expand description

Capability marker for Hash trait detection.

Aliased Type§

pub struct IsHash(/* private fields */);

Trait Implementations§

Source§

impl Capability for IsHash

Source§

type Stream = Cons<X5, Cons<X8, Cons<XC, Cons<XB, Cons<X9, Cons<XF, Cons<XD, Cons<X8, Cons<X7, Cons<X5, Cons<X8, Cons<XA, Cons<XE, Cons<XB, Cons<XF, ConstStream<X1>>>>>>>>>>>>>>>>

Type-level nibble stream responsible for Routing (Trie Path). This is typically a short hash (64-bit) of the identity.
Source§

type Identity = IList8<IList<C<'H'>, IList<C<'a'>, IList<C<'s'>, IList<C<'h'>, INil>>>>>

Unique Type-Level Identity. Typically a Tuple of Char types representing the full name. Used for collision resolution (Equality checks) in leaf nodes.
Source§

type At<D: Peano> = <<<Marker<Cons<X5, Cons<X8, Cons<XC, Cons<XB, Cons<X9, Cons<XF, Cons<XD, Cons<X8, Cons<X7, Cons<X5, Cons<X8, Cons<XA, Cons<XE, Cons<XB, Cons<XF, ConstStream<X1>>>>>>>>>>>>>>>>> as Capability>::Stream as GetTail<D>>::Out as HashStream>::Head where Self::Stream: GetTail<D>

Helper to get the stream head at depth D (used for trie building)