pub fn option_shards_into_shards(shards: Vec<Option<Shard>>) -> Vec<Shard>
Expand description

Transforms vector of option shards into vector of shards.

Remarks

Each shard is moved rather than cloned.

This is mainly useful when you want to convert result of reconstrct_shards or reconstruct_data_shards to the more usable arrangement.

Panics when any of the shards is missing.