[][src]Struct node_sys::fs::ReadStream

#[repr(transparent)]
pub struct ReadStream { /* fields omitted */ }

Methods

impl ReadStream[src]

pub fn bytes_read(&self) -> f64[src]

impl ReadStream[src]

pub fn path(&self) -> JsValue[src]

impl ReadStream[src]

pub fn pending(&self) -> bool[src]

impl ReadStream[src]

pub fn add_listener_with_open(&self, listener: &Function) -> ReadStream[src]

pub fn add_listener_with_close(&self, listener: &Function) -> ReadStream[src]

pub fn on_with_open(&self, listener: &Function) -> ReadStream[src]

pub fn on_with_close(&self, listener: &Function) -> ReadStream[src]

pub fn once_with_open(&self, listener: &Function) -> ReadStream[src]

pub fn once_with_close(&self, listener: &Function) -> ReadStream[src]

pub fn prepend_listener_with_open(&self, listener: &Function) -> ReadStream[src]

pub fn prepend_listener_with_close(&self, listener: &Function) -> ReadStream[src]

pub fn prepend_once_listener_with_open(&self, listener: &Function) -> ReadStream[src]

pub fn prepend_once_listener_with_close(
    &self,
    listener: &Function
) -> ReadStream
[src]

Methods from Deref<Target = ReadableStream>

pub fn is_paused(&self) -> bool[src]

pub fn pause(&self) -> ReadableStream[src]

pub fn pipe(&self, dest: &WritableStream, opts: PipeOptions) -> bool[src]

pub fn read(&self) -> bool[src]

pub fn resume(&self) -> bool[src]

pub fn set_encoding(&self) -> bool[src]

pub fn shift(&self) -> bool[src]

pub fn unpipe(&self) -> bool[src]

pub fn unshift(&self) -> bool[src]

pub fn wrap(&self) -> bool[src]

pub fn readable(&self) -> bool[src]

Trait Implementations

impl AsRef<JsValue> for ReadStream[src]

impl AsRef<ReadStream> for ReadStream[src]

impl AsRef<ReadableStream> for ReadStream[src]

impl Clone for ReadStream[src]

impl Debug for ReadStream[src]

impl Deref for ReadStream[src]

type Target = ReadableStream

The resulting type after dereferencing.

impl From<JsValue> for ReadStream[src]

impl From<ReadStream> for JsValue[src]

impl From<ReadStream> for ReadableStream[src]

impl FromWasmAbi for ReadStream[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for ReadStream[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a ReadStream[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for ReadStream[src]

impl OptionFromWasmAbi for ReadStream[src]

impl OptionIntoWasmAbi for ReadStream[src]

impl<'a> OptionIntoWasmAbi for &'a ReadStream[src]

impl RefFromWasmAbi for ReadStream[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<ReadStream>

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

impl WasmDescribe for ReadStream[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.