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