[−][src]Struct ducc::ExecSettings
A list of one-time settings for JavaScript execution.
Fields
cancel_fn: Option<Box<dyn Fn() -> bool>>
An optional closure that returns true
if the execution should be cancelled as soon as
possible, or false
if the execution should continue. This is useful for implementing an
execution timeout. This function is only called during JavaScript execution, and will not be
called while execution is within native Rust code.
Trait Implementations
impl Default for ExecSettings
[src]
fn default() -> ExecSettings
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ExecSettings
impl !Send for ExecSettings
impl !Sync for ExecSettings
impl Unpin for ExecSettings
impl !UnwindSafe for ExecSettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,