TransformStreamDefaultControllerMethods

pub trait TransformStreamDefaultControllerMethods<D: DomTypes> {
    // Required methods
    fn GetDesiredSize(&self) -> Option<f64>;
    fn Enqueue(
        &self,
        cx: &mut JSContext,
        chunk: HandleValue<'_>,
    ) -> Fallible<()>;
    fn Error(&self, cx: &mut JSContext, reason: HandleValue<'_>) -> Fallible<()>;
    fn Terminate(&self, cx: &mut JSContext) -> Fallible<()>;
}

Required Methods§

Source

fn GetDesiredSize(&self) -> Option<f64>

Source

fn Enqueue(&self, cx: &mut JSContext, chunk: HandleValue<'_>) -> Fallible<()>

Source

fn Error(&self, cx: &mut JSContext, reason: HandleValue<'_>) -> Fallible<()>

Source

fn Terminate(&self, cx: &mut JSContext) -> Fallible<()>

Implementors§