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<()>;
}