Trait libp2p_rs::core::muxing::ReadWriteEx[][src]

pub trait ReadWriteEx: StreamInfo + Unpin + Debug + ReadEx + WriteEx {
    pub fn box_clone(&self) -> Box<dyn ReadWriteEx + 'static, Global>;
}

The trait for IReadWrite. It can be made into a trait object IReadWrite used by Swarm Substream. StreamInfo must be supported.

Required methods

pub fn box_clone(&self) -> Box<dyn ReadWriteEx + 'static, Global>[src]

Loading content...

Implementors

impl ReadWriteEx for Channel[src]

impl ReadWriteEx for libp2p_rs::mplex::connection::stream::Stream[src]

impl ReadWriteEx for libp2p_rs::yamux::connection::stream::Stream[src]

Loading content...