Enum boehm_gc::FinalizerMode
[−]
[src]
pub enum FinalizerMode { Standard, IgnoreSelf, NoOrder, }
Used as an argument to register_finalizer to influence the circumstances upon which the garbage collector will run finalizers.
Variants
Standard
Performs the default behavior of the Boehm GC, which will not run a finalizer on an object that contains a pointer to itself.
IgnoreSelf
Performs the default behavior of the Boehm GC, but ignores any "self pointers". This mode will run finalizers on objects that contain pointers to themselves.
NoOrder
Performs the default behavior of the Boehm GC, but ignores all cycles when calculating which finalizers to run. This is a strict superset of the capabilities that IgnoreSelf provides.
Trait Implementations
impl Clone for FinalizerMode
[src]
fn clone(&self) -> FinalizerMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more