pub trait TransportChannelWriteExt {
fn write_and_close(
&mut self,
data: Vec<u8>
) -> MustBoxFuture<'_, TransportResult<()>>;
}
Expand description
Extension trait for channel writers
Required methods
fn write_and_close(
&mut self,
data: Vec<u8>
) -> MustBoxFuture<'_, TransportResult<()>>
fn write_and_close(
&mut self,
data: Vec<u8>
) -> MustBoxFuture<'_, TransportResult<()>>
Write all data and close channel