ByteLengthQueuingStrategyMethods

pub trait ByteLengthQueuingStrategyMethods<D: DomTypes> {
    // Required methods
    fn HighWaterMark(&self) -> f64;
    fn GetSize(&self, cx: &mut JSContext) -> Fallible<Rc<Function<D>>>;
    fn Constructor(
        global: &D::GlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        init: &QueuingStrategyInit,
    ) -> DomRoot<D::ByteLengthQueuingStrategy>;
}

Required Methods§

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§