#[repr(u32)]pub enum JSFinalizeStatus {
JSFINALIZE_GROUP_PREPARE,
JSFINALIZE_GROUP_START,
JSFINALIZE_GROUP_END,
JSFINALIZE_COLLECTION_END,
}
Variants§
JSFINALIZE_GROUP_PREPARE
Called when preparing to sweep a group of zones, before anything has been swept. The collector will not yield to the mutator before calling the callback with JSFINALIZE_GROUP_START status.
JSFINALIZE_GROUP_START
Called after preparing to sweep a group of zones. Weak references to unmarked things have been removed at this point, but no GC things have been swept. The collector may yield to the mutator after this point.
JSFINALIZE_GROUP_END
Called after sweeping a group of zones. All dead GC things have been swept at this point.
JSFINALIZE_COLLECTION_END
Called at the end of collection when everything has been swept.
Trait Implementations§
source§impl Clone for JSFinalizeStatus
impl Clone for JSFinalizeStatus
source§fn clone(&self) -> JSFinalizeStatus
fn clone(&self) -> JSFinalizeStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JSFinalizeStatus
impl Debug for JSFinalizeStatus
source§impl Hash for JSFinalizeStatus
impl Hash for JSFinalizeStatus
source§impl PartialEq<JSFinalizeStatus> for JSFinalizeStatus
impl PartialEq<JSFinalizeStatus> for JSFinalizeStatus
source§fn eq(&self, other: &JSFinalizeStatus) -> bool
fn eq(&self, other: &JSFinalizeStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for JSFinalizeStatus
impl Eq for JSFinalizeStatus
impl StructuralEq for JSFinalizeStatus
impl StructuralPartialEq for JSFinalizeStatus
Auto Trait Implementations§
impl RefUnwindSafe for JSFinalizeStatus
impl Send for JSFinalizeStatus
impl Sync for JSFinalizeStatus
impl Unpin for JSFinalizeStatus
impl UnwindSafe for JSFinalizeStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert