Struct crossbeam_epoch::Collector
[−]
[src]
pub struct Collector { /* fields omitted */ }
An epoch-based garbage collector.
Methods
impl Collector
[src]
pub fn new() -> Self
[src]
Creates a new collector.
pub fn register(&self) -> Handle
[src]
Registers a new handle for the collector.
Trait Implementations
impl Send for Collector
[src]
impl Sync for Collector
[src]
impl Clone for Collector
[src]
fn clone(&self) -> Self
[src]
Creates another reference to the same garbage collector.
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Collector
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Collector
[src]
fn eq(&self, rhs: &Collector) -> bool
[src]
Checks if both handles point to the same collector.
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.