struct GcState {
block: Block<false>,
roots_static: &'static ThreadSafeRootSet,
next_limit: usize,
}Expand description
GC state for the channel manager, all guarded by a single Mutex to prevent deadlocks
Fields§
§block: Block<false>The block where all in-transit objects are stored
roots_static: &'static ThreadSafeRootSetStatic reference to the root set (points into gc_state.roots)
next_limit: usizeNext GC threshold (in bytes)
Implementations§
Auto Trait Implementations§
impl !Freeze for GcState
impl !RefUnwindSafe for GcState
impl !Send for GcState
impl !Sync for GcState
impl Unpin for GcState
impl !UnwindSafe for GcState
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