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