Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cgaebel/iobuf
/ types & classes
Types & classes
16 in github.com/cgaebel/iobuf
⨍
Functions
348
◇
Types & classes
16
Class
AROIobuf
Atomic Read-Only Iobuf An `ROIobuf` which is safe to `Send` across tasks and `Share` with other tasks. This atomically refcounts the buffer, which ha
src/impls.rs:187
Class
AllocationHeader
src/raw.rs:49
Interface
Allocator
Used to provide custom memory to Iobufs, instead of just using the heap.
src/raw.rs:41
Class
AppendBuf
Append-Only Input Buffer This buffer is intended to act as a intermediate buffer to be `fill`ed by incoming streaming data, such as sockets, files, o
src/appendbuf.rs:23
Enum
BufSpan
src/bufspan.rs:327
Class
Deallocator
Each leaf of this enum is tagged with the allocation length listed in the header.
src/raw.rs:166
Class
IORingbuf
A ring buffer implemented with `Iobuf`s.
src/ringbuf.rs:7
Interface
IntLike
8-64 bit integer types. Not floating point. This used to be in the standard library, but was pulled out into an external library that adds support fo
src/intlike.rs:10
Interface
Iobuf
Input/Output Buffer Have your functions take a generic IObuf when they don't modify the buffer contents. This allows them to be used with both `ROIob
src/iobuf.rs:29
Class
MyAllocator
src/raw.rs:1453
Class
ROIobuf
Read-Only Iobuf An `Iobuf` that cannot write into the buffer, but all read-only operations are supported. It is possible to get a `RWIobuf` by perfor
src/impls.rs:20
Class
RWIobuf
Read-Write Iobuf An `Iobuf` which can read and write into a buffer. Iobufs may be `cloned` cheaply. When cloned, the data itself is shared and refco
src/impls.rs:65
Class
RawIobuf
A `RawIobuf` is the representation of both a `RWIobuf` and a `ROIobuf`. It is very cheap to clone, as the backing buffer is shared and refcounted.
src/raw.rs:223
Enum
SpanIter
An iterator over references to buffers inside a `BufSpan`.
src/bufspan.rs:784
Enum
SpanMoveIter
A moving iterator over buffers inside a `BufSpan`.
src/bufspan.rs:828
Class
UniqueIobuf
A unique, immutable Iobuf. If the refcount on an Iobuf is `1`, it can be made unique with `.unique()`. This will allow sending across channels, and l
src/impls.rs:212