pub trait ReadableStreamBYOBRequestMethods<D: DomTypes> {
    // Required methods
    fn GetView(&self, cx: SafeJSContext) -> Option<ArrayBufferView>;
    fn Respond(&self, bytesWritten: u64) -> Result<(), Error>;
    fn RespondWithNewView(
        &self,
        view: CustomAutoRooterGuard<'_, ArrayBufferView>,
    ) -> Result<(), Error>;
}

Required Methods§

Implementors§