Module timely_communication::allocator::zero_copy
source · Expand description
Allocators based on serialized data which avoid copies.
These allocators were based on Abomonation
serialization, and its ability to deserialized
typed Rust data in-place. They surfaced references to data, often ultimately referencing the
raw binary data they initial received.
For the moment, they no longer use Abomonation due to its unsafety, and instead rely on the
use of Message::from_bytes
which .. could .. use Abomonation or something safer, but uses
bincode
at of this writing.
Modules§
- Zero-copy allocator based on TCP.
- Zero-copy allocator for intra-process serialized communication.
- Types and traits for sharing
Bytes
. - A large binary allocation for writing and sharing.
- Network initialization.
- Push and Pull implementations wrapping serialized data.
- Abstractions over network streams.