Function kitsune_p2p_types::tx2::tx2_utils::bound_async_mem_channel
source · pub fn bound_async_mem_channel(
max_bytes: usize,
maybe_active: Option<&Active>
) -> (Box<dyn AsyncWrite + Send + Unpin + 'static>, Box<dyn AsyncRead + Send + Unpin + 'static>)
Expand description
Construct a bound async read/write memory channel