Trait script::dom::bindings::codegen::Bindings::ReadableStreamDefaultControllerBinding::ReadableStreamDefaultController_Binding::ReadableStreamDefaultControllerMethods
source · pub trait ReadableStreamDefaultControllerMethods<D: DomTypes> {
// Required methods
fn GetDesiredSize(&self) -> Option<f64>;
fn Close(&self) -> Result<(), Error>;
fn Enqueue(
&self,
cx: SafeJSContext,
chunk: HandleValue<'_>,
_can_gc: CanGc,
) -> Result<(), Error>;
fn Error(&self, cx: SafeJSContext, e: HandleValue<'_>) -> Result<(), Error>;
}