Struct wasm_streams::readable::PipeOptions [−][src]
pub struct PipeOptions { /* fields omitted */ }Expand description
Options for pipe_to_with_options.
Implementations
Creates a blank new set of pipe options.
Equivalent to PipeOptions::default.
Creates a set of pipe options from a raw PipeOptions object.
Convert this to a raw PipeOptions object.
Sets whether the destination writable stream should be closed when the source readable stream closes.
Sets whether the source readable stream should be canceled when the destination writable stream errors.
Sets whether the destination writable stream should be aborted when the source readable stream errors.
Sets an abort signal to abort the ongoing pipe operation.
When the signal is aborted, the source readable stream will be canceled
and the destination writable stream will be aborted
unless the respective options prevent_cancel
or prevent_abort are set.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PipeOptions
impl !Send for PipeOptions
impl !Sync for PipeOptions
impl Unpin for PipeOptions
impl UnwindSafe for PipeOptions
Blanket Implementations
Mutably borrows from an owned value. Read more