[][src]Enum rusty_v8::MicrotasksPolicy

#[repr(C)]pub enum MicrotasksPolicy {
    Explicit,
    Auto,
}

Policy for running microtasks:

  • explicit: microtasks are invoked with the Isolate::PerformMicrotaskCheckpoint() method;
  • auto: microtasks are invoked when the script call depth decrements to zero.

Variants

Explicit
Auto

Trait Implementations

impl Clone for MicrotasksPolicy[src]

impl Copy for MicrotasksPolicy[src]

impl Debug for MicrotasksPolicy[src]

impl PartialEq<MicrotasksPolicy> for MicrotasksPolicy[src]

impl StructuralPartialEq for MicrotasksPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.