pub struct Verifying<K: Kind> { /* private fields */ }
Expand description
An item which is in the process of being verified.
Trait Implementations
sourceimpl<K: Kind> MallocSizeOf for Verifying<K> where
K: MallocSizeOf,
impl<K: Kind> MallocSizeOf for Verifying<K> where
K: MallocSizeOf,
sourcefn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
If T::size_of
is a constant, consider implementing constant_size
as well. Read more
sourcefn constant_size() -> Option<usize>
fn constant_size() -> Option<usize>
Used to optimize MallocSizeOf
implementation for collections
like Vec
and HashMap
to avoid iterating over them unnecessarily.
The Self: Sized
bound is for object safety. Read more
Auto Trait Implementations
impl<K> RefUnwindSafe for Verifying<K> where
<K as Kind>::Verified: RefUnwindSafe,
impl<K> Send for Verifying<K>
impl<K> Sync for Verifying<K> where
<K as Kind>::Verified: Sync,
impl<K> Unpin for Verifying<K> where
<K as Kind>::Verified: Unpin,
impl<K> UnwindSafe for Verifying<K> where
<K as Kind>::Verified: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> MallocSizeOfExt for T where
T: MallocSizeOf,
impl<T> MallocSizeOfExt for T where
T: MallocSizeOf,
sourcefn malloc_size_of(&self) -> usize
fn malloc_size_of(&self) -> usize
Method to launch a heapsize measurement with a fresh state. Read more