Module 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§

allocator
Zero-copy allocator based on TCP.
allocator_process
Zero-copy allocator for intra-process serialized communication.
bytes_exchange
Types and traits for sharing Bytes.
bytes_slab
A large binary allocation for writing and sharing.
initialize
Network initialization.
push_pull
Push and Pull implementations wrapping serialized data.
stream
Abstractions over network streams.
tcp
Methods related to reading from and writing to TCP connections