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

Required Methods§

Implementors§