Trait kitsune_p2p_types::transport::TransportChannelReadExt [−][src]
pub trait TransportChannelReadExt {
fn read_to_end(self) -> MustBoxFuture<'static, Vec<u8>>;
}
Expand description
Extension trait for channel readers
Required methods
fn read_to_end(self) -> MustBoxFuture<'static, Vec<u8>>
fn read_to_end(self) -> MustBoxFuture<'static, Vec<u8>>
Read the stream to close into a single byte vec.