Trait ecksport_core::traits::AsyncRecvFrame

source ·
pub trait AsyncRecvFrame {
    // Required method
    fn recv_frame_async(
        &mut self,
    ) -> impl Future<Output = Result<FrameBody, ConnError>> + Send;
}

Required Methods§

source

fn recv_frame_async( &mut self, ) -> impl Future<Output = Result<FrameBody, ConnError>> + Send

Reads a frame from the other side.

Object Safety§

This trait is not object safe.

Implementors§