Struct crossbeam_epoch::Collector [−][src]
pub struct Collector { /* fields omitted */ }
An epoch-based garbage collector.
Implementations
impl Collector
[src]
impl Collector
[src]pub fn new() -> Self
[src]
Creates a new collector.
pub fn register(&self) -> LocalHandle
[src]
Registers a new handle for the collector.
Trait Implementations
impl Clone for Collector
[src]
impl Clone for Collector
[src]fn clone(&self) -> Self
[src]
Creates another reference to the same garbage collector.