Trait script::dom::bindings::codegen::Bindings::ReadableByteStreamControllerBinding::ReadableByteStreamController_Binding::ReadableByteStreamControllerMethods
source · pub trait ReadableByteStreamControllerMethods<D: DomTypes> {
// Required methods
fn GetByobRequest(
&self,
) -> Result<Option<Root<Dom<ReadableStreamBYOBRequest>>>, Error>;
fn GetDesiredSize(&self) -> Option<f64>;
fn Close(&self) -> Result<(), Error>;
fn Enqueue(
&self,
chunk: CustomAutoRooterGuard<'_, ArrayBufferView>,
) -> Result<(), Error>;
fn Error(&self, cx: SafeJSContext, e: HandleValue<'_>) -> Result<(), Error>;
}