pub trait TransmitExt: Transmit {
// Provided methods
fn with<F, U>(self, f: F) -> With<Self, F, Self::Item, U, Self::Error>
where Self: Sized + Send,
Self::Item: Send,
Self::Error: Send,
F: FnMut(U) -> Self::Item + Send,
U: Send { ... }
fn transmit_map_err<E, F>(self, f: F) -> TransmitMapErr<Self, F>
where Self: Sized + Send,
Self::Item: Send,
F: FnOnce(Self::Error) -> E + Send { ... }
}Expand description
An extension trait for Transmits that provides a variety of convenient
functions.
Provided Methods§
fn with<F, U>(self, f: F) -> With<Self, F, Self::Item, U, Self::Error>
fn transmit_map_err<E, F>(self, f: F) -> TransmitMapErr<Self, F>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".