pub struct ShapeTableHandle { /* private fields */ }Expand description
Shareable handle to a shape transition table and its transition log.
The table is the same object that the pre-B5 GLOBAL_SHAPE_TABLE
exposed — a Mutex-guarded transition graph. The log records
(parent, child) pairs for JIT shape-guard invalidation and is
drained by TierManager::check_shape_invalidations.
The interior Mutexs are deliberately simple: table writes are
expected to be rare (only when a HashMap gains a new key) and the
lock is held briefly.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ShapeTableHandle
impl RefUnwindSafe for ShapeTableHandle
impl Send for ShapeTableHandle
impl Sync for ShapeTableHandle
impl Unpin for ShapeTableHandle
impl UnsafeUnpin for ShapeTableHandle
impl UnwindSafe for ShapeTableHandle
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