Struct script::script_runtime::StreamConsumer
source · pub struct StreamConsumer(*mut JSStreamConsumer);
Tuple Fields§
§0: *mut JSStreamConsumer
Implementations§
source§impl StreamConsumer
impl StreamConsumer
pub fn consume_chunk(&self, stream: &[u8]) -> bool
pub fn stream_end(&self)
pub fn stream_error(&self, error_code: usize)
pub fn note_response_urls(
&self,
maybe_url: Option<String>,
maybe_source_map_url: Option<String>
)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StreamConsumer
impl !Send for StreamConsumer
impl !Sync for StreamConsumer
impl Unpin for StreamConsumer
impl UnwindSafe for StreamConsumer
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert