Trait ListIndexEntry
grin_chain::linked_list
pub trait ListIndexEntry: Readable + Writeable { type Pos: PosEntry; pub fn get_pos(&self) -> Self::Pos; }
Entry maintained in the list index.
type Pos: PosEntry
Type of the underlying pos indexed in the list.
pub fn get_pos(&self) -> Self::Pos
Accessor for the underlying pos.
impl<T> ListIndexEntry for ListEntry<T> where T: PosEntry,
type Pos = T
Read the common pos from the various enum variants.