Expand description
Single-threaded (!Send + !Sync) primitives.
Bytes / BytesMut use a Cell-based refcount instead of Arc,
so cloning is one cache-line bump instead of an atomic RMW. The
trade-off is that every consumer of these buffers must live on the
same thread — the model used by per-thread io_uring reactors.
Sibling primitives (LocalCell, AlwaysInit, Slab, MmapSlab,
SlotId, InlineFuture, channel) follow the same paradigm:
thread-pinned, no atomics, no cross-core sharing. dambi pulls them
together as the storage layer for any shared-nothing runtime.
Modules§
Structs§
- Always
Init - Byte
Buffer - Byte
Buffer Mut - Bytes
- Bytes
Mut - Inline
Future - Late
Bound - LiveKey
- Local
Cell - Mmap
Slab - Slab
- SlotGen
- SlotId
- Waker
Set