ReadableStreamBYOBRequestMethods

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

Required Methods§

Implementors§