Type Alias hotshot_testing::consistency_task::NetworkMapSanitized
source · pub type NetworkMapSanitized<TYPES> = BTreeMap<usize, NodeMapSanitized<TYPES>>;
Expand description
A map from node ids to NodeMapSanitized
s; the latter has been sanitized validated to have a single leaf per view.
Aliased Type§
struct NetworkMapSanitized<TYPES> {
root: Option<NodeRef<Owned, usize, BTreeMap<<TYPES as NodeType>::Time, Leaf<TYPES>>, LeafOrInternal>>,
length: usize,
pub(super) alloc: ManuallyDrop<Global>,
_marker: PhantomData<Box<(usize, BTreeMap<<TYPES as NodeType>::Time, Leaf<TYPES>>)>>,
}
Fields§
§root: Option<NodeRef<Owned, usize, BTreeMap<<TYPES as NodeType>::Time, Leaf<TYPES>>, LeafOrInternal>>
§length: usize
§alloc: ManuallyDrop<Global>
§_marker: PhantomData<Box<(usize, BTreeMap<<TYPES as NodeType>::Time, Leaf<TYPES>>)>>