Skip to main content

pipe

Function pipe 

Source
pub fn pipe<A, B, M1, M2, E1, E2>(a: A, b: B) -> Pipe 
where A: Transport<M1, M2, E1> + Unpin, B: Transport<M2, M1, E2> + Unpin, M1: Message, M2: Message, E1: Error, E2: Error,
Available on crate feature pipe only.
Expand description

Pipe messages from one transport into another and vice versa.

Pipe created with this function ignores errors.