Struct forest_actor::miner::PartitionSectorMap
source · [−]pub struct PartitionSectorMap(_);
Expand description
Maps partitions to sector bitfields.
Implementations
Records the given sectors at the given partition.
Records the given sector bitfield at the given partition index, merging it with any existing bitfields if necessary.
Counts the number of partitions & sectors within the map.
Returns a sorted vec of partitions in the map.
Walks the partitions in the map, in order of increasing index.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more