Number of distinct shards in this envelope.
(&self)
| 59 | |
| 60 | /// Number of distinct shards in this envelope. |
| 61 | pub fn shard_count(&self) -> usize { |
| 62 | self.batches.len() |
| 63 | } |
| 64 | |
| 65 | /// Consume into scatter batches. |
| 66 | pub fn into_batches(self) -> Vec<ScatterBatch> { |
no test coverage detected