[][src]Struct juxr::streams::EmbeddedStreams

pub struct EmbeddedStreams<'a, R, W> { /* fields omitted */ }

Represents a stream of EmbeddedStream instances.

Implementations

impl<'a, R: Read, W: Write> EmbeddedStreams<'a, R, W>[src]

pub fn new(reader: R, side_writer: &'a mut W) -> EmbeddedStreams<'a, R, W>[src]

Creates a new EmbeddedStreams from a reader where any non-stream output will be sent to the supplied side_writer.

pub fn for_each<F>(self, f: F) where
    F: Fn(&mut EmbeddedStream<'_, R>), 
[src]

Applies the supplied function to every stream in the embedded stream

Auto Trait Implementations

impl<'a, R, W> RefUnwindSafe for EmbeddedStreams<'a, R, W> where
    R: RefUnwindSafe,
    W: RefUnwindSafe
[src]

impl<'a, R, W> Send for EmbeddedStreams<'a, R, W> where
    R: Send,
    W: Send
[src]

impl<'a, R, W> Sync for EmbeddedStreams<'a, R, W> where
    R: Sync,
    W: Sync
[src]

impl<'a, R, W> Unpin for EmbeddedStreams<'a, R, W> where
    R: Unpin
[src]

impl<'a, R, W> !UnwindSafe for EmbeddedStreams<'a, R, W>[src]

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,