| 1 |
# Fill Status |
| 2 |
|
| 3 |
The standard library uses a `bool` flag to indicate whether a splicing operation |
| 4 |
exhausted the source or filled the target, which is not very clear about what is |
| 5 |
being signaled. This enum replaces it. |
| 6 |
|
| 7 |
## Variants |
| 8 |
|
| 9 |
- `FullSpan`: This marks that a drain span has been completely filled with |
| 10 |
replacement bits, and any further replacement would require insertion rather |
| 11 |
than overwriting dead storage. |
| 12 |
- `EmptyInput`: This marks that a replacement source has been run to completion, |
| 13 |
but dead bits remain in a drain span, and the dead range will need to be |
| 14 |
overwritten. |