Function reed_solomon_erasure::shards_to_option_shards
source · Expand description
Transforms slice of shards to vector of option shards.
Remarks
Each shard is cloned rather than moved, which may be slow.
This is mainly useful when you want to repair a vector
of shards using reconstrct_shards
or reconstruct_data_shards
.