pub struct Interner { /* private fields */ }Expand description
An Interner holds a set of interned IDs for use during serialization/deserialization,
mapping IDs to u16 indices.
§Upcoming Changes
This object holds an Arc of RwLock internally because we need concurrent access from the layout writer code path. We should update SegmentSink to take an Array rather than ByteBuffer such that serializing arrays is done sequentially.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Interner
impl !UnwindSafe for Interner
impl Freeze for Interner
impl Send for Interner
impl Sync for Interner
impl Unpin for Interner
impl UnsafeUnpin for Interner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more