Available on crate feature
sync only.Expand description
An atomic cycle-collecting reference-counted smart pointer.
Modules§
Structs§
- Agc
- A cycle-collected reference-counted smart pointer which may be shared across threads and supports concurrent collection.
- GcVisitor
- Visitor provided during tracing of the reachable object graph. You shouldn’t need to interact
with this as
Agc::visit_childrenwill do the right thing for you. - Ref
- Wraps a shared reference to a value in a
Agc.
Traits§
Functions§
- collect
- Perform a normal collection cycle.
- collect_
full - Perform a full, cycle-tracing collection of both the old & young gen.
See
collectfor more details on the implementation of collection. - collect_
with_ options - Perform a collection cycle based on
CollectOptions. Seecollectfor more details on the implementation of collection.