Expand description
A convenience type for abstracting over slices or SlabSliceArc
s.
Enums§
- Managed
ArcSlab - A
ManagedArcSlab
may contain EITHER a borrowed&[u8]
slice, or aSlabSliceArc
.ManagedArcSlab
s implement theDeref
trait for access to the underlying data, and implementserde
’sSerialize
andDeserialize
traits, to allow them to be serialized as a slice of bytes. - Managed
ArcStr - A
ManagedArcStr
may contain EITHER a borrowed&str
slice, or aSlabStrArc
.ManagedArcStr
s implement theDeref
trait for access to the underlying data, and implementserde
’sSerialize
andDeserialize
traits, to allow them to be serialized as a string slice.
Traits§
- Reroot
- A trait for restoring Managed types to a given SlabArc