Struct zerogc_context::state::sync::CollectorState[][src]

pub struct CollectorState<C: RawCollectorImpl> { /* fields omitted */ }
Expand description

Keeps track of a pending collection (if any)

This must be held under a write lock for a collection to happen. This must be held under a read lock to prevent collections.

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.