Trait CustomMessageWrite
Source pub trait CustomMessageWrite:
Send
+ Sync
+ Unpin
+ 'static {
// Required methods
fn set_write_timeout(&mut self, timeout: Option<Duration>);
fn write_custom_message<'life0, 'async_trait>(
&'life0 mut self,
msg: Bytes,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn finish_custom<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}