Trait ecksport_core::traits::AsyncSendFrame

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

Required Methods§

source

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

Writes a frame to the other side.

Object Safety§

This trait is not object safe.

Implementors§