Trait NjStream

Source
pub trait NjStream: Stream {
    // Provided method
    fn js_then<F>(self, fut: F) -> JsThen<Self, F>
       where F: FnMut(Self::Item),
             Self: Sized { ... }
}

Provided Methods§

Source

fn js_then<F>(self, fut: F) -> JsThen<Self, F>
where F: FnMut(Self::Item), Self: Sized,

Implementors§

Source§

impl<T> NjStream for T
where T: Stream + ?Sized,