Module sync

Source
Available on crate feature sync only.
Expand description

An atomic cycle-collecting reference-counted smart pointer.

Modules§

trace
Contains the sync version of the Trace trait.

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_children will do the right thing for you.
Ref
Wraps a shared reference to a value in a Agc.

Traits§

Trace
The Sync version of the rc::Trace trait.

Functions§

collect
Perform a normal collection cycle.
collect_full
Perform a full, cycle-tracing collection of both the old & young gen. See collect for more details on the implementation of collection.
collect_with_options
Perform a collection cycle based on CollectOptions. See collect for more details on the implementation of collection.