Trait script::dom::bindings::codegen::Bindings::ReadableStreamBYOBRequestBinding::ReadableStreamBYOBRequest_Binding::ReadableStreamBYOBRequestMethods
source · 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>;
}