Trait embedded_svc::ws::asynch::Receiver
source · pub trait Receiver: ErrorType {
// Required method
async fn recv(
&mut self,
frame_data_buf: &mut [u8],
) -> Result<(FrameType, usize), Self::Error>;
}
Required Methods§
async fn recv( &mut self, frame_data_buf: &mut [u8], ) -> Result<(FrameType, usize), Self::Error>
Object Safety§
This trait is not object safe.