File: FillStatus.md

package info (click to toggle)
rust-bitvec 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,780 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 588 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Fill Status

The standard library uses a `bool` flag to indicate whether a splicing operation
exhausted the source or filled the target, which is not very clear about what is
being signaled. This enum replaces it.

## Variants

- `FullSpan`: This marks that a drain span has been completely filled with
  replacement bits, and any further replacement would require insertion rather
  than overwriting dead storage.
- `EmptyInput`: This marks that a replacement source has been run to completion,
  but dead bits remain in a drain span, and the dead range will need to be
  overwritten.