Skip to main content

ReadableStreamBYOBRequestMethods

Trait ReadableStreamBYOBRequestMethods 

Source
pub trait ReadableStreamBYOBRequestMethods<D>
where D: DomTypes,
{ // Required methods fn GetView( &self, cx: JSContext, ) -> Option<RootedTraceableBox<TypedArray<ArrayBufferViewU8, Box<Heap<*mut JSObject>>>>>; fn Respond( &self, cx: &mut JSContext, bytesWritten: u64, ) -> Result<(), Error>; fn RespondWithNewView( &self, cx: &mut JSContext, view: CustomAutoRooterGuard<'_, TypedArray<ArrayBufferViewU8, *mut JSObject>>, ) -> Result<(), Error>; }

Required Methods§

Implementors§