Trait salvo_core::proto::quic::SendStreamUnframed
source · pub trait SendStreamUnframed<B>: SendStream<B>where
B: Buf,{
// Required method
fn poll_send<D>(
&mut self,
cx: &mut Context<'_>,
buf: &mut D
) -> Poll<Result<usize, Self::Error>>
where D: Buf;
}
Available on crate feature
quinn
only.Expand description
Allows sending unframed pure bytes to a stream. Similar to AsyncWrite
Required Methods§
Object Safety§
This trait is not object safe.