Module byte_slab::slab_slice_arc [−][src]
Expand description
A reference counted, partial view of an allocation
A SlabSliceArc
is used to provide a view onto a portion of a SlabArc
,
without sharing the entire allocation. It shares the same reference count
as the underlying SlabArc
, meaning the underlying SlabArc
will not be
freed if there are only SlabSliceArc
s remaining. The underlying memory
is freed for reuse automatically when the reference count reaches zero.
Structs
A partial view, reference counted, BSlab allocated chunk of bytes.
A partial view, reference counted, BSlab allocated string slice