pub(crate) trait AbortControllerMethods<D: DomTypes> {
    // Required methods
    fn Abort(&self, cx: SafeJSContext, reason: HandleValue<'_>);
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
    ) -> DomRoot<D::AbortController>;
}

Required Methods§

Source

fn Abort(&self, cx: SafeJSContext, reason: HandleValue<'_>)

Source

fn Constructor( global: &D::GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, ) -> DomRoot<D::AbortController>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§