[−][src]Struct juxr::streams::EmbeddedStreams
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]
F: Fn(&mut EmbeddedStream<'_, R>),
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]
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, R, W> Send for EmbeddedStreams<'a, R, W> where
R: Send,
W: Send,
[src]
R: Send,
W: Send,
impl<'a, R, W> Sync for EmbeddedStreams<'a, R, W> where
R: Sync,
W: Sync,
[src]
R: Sync,
W: Sync,
impl<'a, R, W> Unpin for EmbeddedStreams<'a, R, W> where
R: Unpin,
[src]
R: Unpin,
impl<'a, R, W> !UnwindSafe for EmbeddedStreams<'a, R, W>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,