Function reed_solomon_erasure::shards_into_option_shards
[−]
[src]
pub fn shards_into_option_shards(shards: Vec<Shard>) -> Vec<Option<Shard>>
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 decode_missing
.