Trait snowstorm::socket::PacketPoller
source · [−]pub trait PacketPoller {
fn poll_send(
&mut self,
cx: &mut Context<'_>,
buf: &[u8]
) -> Poll<Result<()>>;
fn poll_recv(
&mut self,
cx: &mut Context<'_>,
buf: &mut ReadBuf<'_>
) -> Poll<Result<()>>;
}