pub struct PipeOptions {
pub prevent_close: bool,
pub prevent_abort: bool,
pub prevent_cancel: bool,
}Expand description
pipeTo の制御オプション
Fields§
§prevent_close: boolパイプ完了時に宛先 WritableStream を自動クローズするか(既定: false = クローズする)
prevent_abort: boolエラー発生時に宛先 WritableStream を自動アボートするか(既定: false = アボートする)
prevent_cancel: bool宛先側でエラー発生時に元 ReadableStream を自動キャンセルするか(既定: false = キャンセルする)
Trait Implementations§
Source§impl Clone for PipeOptions
impl Clone for PipeOptions
Source§fn clone(&self) -> PipeOptions
fn clone(&self) -> PipeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipeOptions
impl Debug for PipeOptions
Source§impl Default for PipeOptions
impl Default for PipeOptions
impl Eq for PipeOptions
Source§impl PartialEq for PipeOptions
impl PartialEq for PipeOptions
impl StructuralPartialEq for PipeOptions
Auto Trait Implementations§
impl Freeze for PipeOptions
impl RefUnwindSafe for PipeOptions
impl Send for PipeOptions
impl Sync for PipeOptions
impl Unpin for PipeOptions
impl UnsafeUnpin for PipeOptions
impl UnwindSafe for PipeOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.