[−][src]Struct crossbeam::epoch::Collector
An epoch-based garbage collector.
Methods
impl Collector[src]
pub fn new() -> Collector[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]
fn clone(&self) -> Collector[src]
Creates another reference to the same garbage collector.
default fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Collector[src]
impl Eq for Collector[src]
impl Sync for Collector[src]
impl PartialEq<Collector> for Collector[src]
fn eq(&self, rhs: &Collector) -> bool[src]
Checks if both handles point to the same collector.
#[must_use]
default fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
default fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Send for Collector[src]
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
ⓘImportant traits for &'_ mut Wfn borrow_mut(&mut self) -> &mut T[src]
ⓘImportant traits for &'_ mut W
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,