pub struct TestApplierGuard<'a> { /* private fields */ }Methods from Deref<Target = MemoryApplier>§
pub fn slots(&mut self) -> &mut SlotTable
pub fn with_node<N, R>(
&mut self,
id: usize,
f: impl FnOnce(&mut N) -> R,
) -> Result<R, NodeError>where
N: Node + 'static,
pub fn len(&self) -> usize
pub fn capacity(&self) -> usize
pub fn tombstone_count(&self) -> usize
pub fn freelist_len(&self) -> usize
pub fn debug_recycled_node_count(&self) -> usize
pub fn debug_recycled_node_count_for<N>(&self) -> usizewhere
N: Node + 'static,
pub fn debug_stats(&self) -> MemoryApplierDebugStats
pub fn is_empty(&self) -> bool
pub fn debug_live_node_heap_bytes(&self) -> usize
pub fn debug_recycled_node_heap_bytes(&self) -> usize
pub fn set_runtime_handle(&mut self, handle: RuntimeHandle)
pub fn clear_runtime_handle(&mut self)
pub fn runtime_handle(&self) -> Option<RuntimeHandle>
pub fn dump_tree(&self, root: Option<usize>) -> String
Trait Implementations§
Source§impl Deref for TestApplierGuard<'_>
impl Deref for TestApplierGuard<'_>
Auto Trait Implementations§
impl<'a> Freeze for TestApplierGuard<'a>
impl<'a> !RefUnwindSafe for TestApplierGuard<'a>
impl<'a> !Send for TestApplierGuard<'a>
impl<'a> !Sync for TestApplierGuard<'a>
impl<'a> Unpin for TestApplierGuard<'a>
impl<'a> UnsafeUnpin for TestApplierGuard<'a>
impl<'a> !UnwindSafe for TestApplierGuard<'a>
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