[−][src]Module vmap::io
Read/Write types for buffering.
Both the Ring
and
InfiniteRing
are fixed size anonymous allocations
utilizing circular address mappinng. The circular mapping ensures that
the entire readable or writable slice may always be addressed as a single,
contiguous allocation. However, these two types differ in one key way:
the Ring
may only written to as readable space
is consumed, whereas the InfiniteRing
is always
writable and will overwrite unconsumed space as needed.
Structs
BufReader | The |
BufWriter | The |
InfiniteRing | Fixed-size lossy read/write buffer with sequential address mapping. |
Ring | Fixed-size reliable read/write buffer with sequential address mapping. |
Traits
SeqRead | Common input trait for all buffers. |
SeqWrite | Common output trait for all buffers. |