Function reed_solomon_erasure::option_shards_into_shards
[−]
[src]
pub fn option_shards_into_shards(shards: Vec<Option<Shard>>) -> Vec<Shard>
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
decode_missing
to the normal and more usable arrangement.