Struct wasm_streams::readable::sys::PipeOptions
source · [−]pub struct PipeOptions { /* private fields */ }
Expand description
Raw options for pipeTo()
.
Implementations
sourceimpl PipeOptions
impl PipeOptions
sourceimpl PipeOptions
impl PipeOptions
pub fn prevent_close(&self) -> bool
pub fn prevent_cancel(&self) -> bool
pub fn prevent_abort(&self) -> bool
pub fn signal(&self) -> Option<AbortSignal>
Trait Implementations
sourceimpl Clone for PipeOptions
impl Clone for PipeOptions
sourcefn clone(&self) -> PipeOptions
fn clone(&self) -> PipeOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PipeOptions
impl Debug for PipeOptions
sourceimpl Default for PipeOptions
impl Default for PipeOptions
sourcefn default() -> PipeOptions
fn default() -> PipeOptions
Returns the “default value” for a type. Read more
sourceimpl From<PipeOptions> for JsValue
impl From<PipeOptions> for JsValue
sourcefn from(value: PipeOptions) -> Self
fn from(value: PipeOptions) -> Self
Converts to this type from the input type.
sourceimpl FromWasmAbi for PipeOptions
impl FromWasmAbi for PipeOptions
sourceimpl IntoWasmAbi for PipeOptions
impl IntoWasmAbi for PipeOptions
sourceimpl OptionFromWasmAbi for PipeOptions
impl OptionFromWasmAbi for PipeOptions
sourceimpl OptionIntoWasmAbi for PipeOptions
impl OptionIntoWasmAbi for PipeOptions
sourceimpl RefFromWasmAbi for PipeOptions
impl RefFromWasmAbi for PipeOptions
type Anchor = Ref<'static, PipeOptions>
type Anchor = Ref<'static, PipeOptions>
The type that holds the reference to Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
sourceunsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Recover a Self::Anchor
from Self::Abi
. Read more
sourceimpl RefMutFromWasmAbi for PipeOptions
impl RefMutFromWasmAbi for PipeOptions
type Anchor = RefMut<'static, PipeOptions>
type Anchor = RefMut<'static, PipeOptions>
Same as RefFromWasmAbi::Anchor
sourceunsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as RefFromWasmAbi::ref_from_abi
sourceimpl WasmDescribe for PipeOptions
impl WasmDescribe for PipeOptions
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more