pub enum GcTrigger {
Explicit,
LastEngine,
Command,
}Expand description
Entry path that requested a cycle collection.
Variants§
Explicit
An explicit call to the public collection API.
LastEngine
Release of the last registered Engine owner on this thread.
Command
Release of the command lifetime guard.
Trait Implementations§
impl Copy for GcTrigger
Auto Trait Implementations§
impl Freeze for GcTrigger
impl RefUnwindSafe for GcTrigger
impl Send for GcTrigger
impl Sync for GcTrigger
impl Unpin for GcTrigger
impl UnsafeUnpin for GcTrigger
impl UnwindSafe for GcTrigger
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