Function reed_solomon_erasure::shards_into_option_shards
source · Expand description
Transforms vector of shards into vector of option shards.
Remarks
Each shard is moved rather than cloned.
This is mainly useful when you want to repair a vector
of shards using reconstrct_shards
or reconstruct_data_shards
.