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