Struct byte_slab::slab_arc::SlabArc [−][src]
Expand description
A reference counted, BSlab allocated chunk of bytes.
SlabArc
s implement the Deref
trait for access to the underlying allocation
Implementations
Create a SlabSliceArc
from this SlabArc
, with a full view
of the underlying data
Create a SlabSliceArc
from this SlabArc
, with a partial view
of the underlying data.
This function will fail if start
and len
do not describe a valid
region of the SlabArc
.