Trait kitsune_p2p_types::transport::TransportChannelWriteExt[][src]

pub trait TransportChannelWriteExt {
    fn write_and_close(
        &mut self,
        data: Vec<u8>
    ) -> MustBoxFuture<'_, TransportResult<()>>; }
Expand description

Extension trait for channel writers

Required methods

Write all data and close channel

Implementors