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