Trait embedded_svc::ws::Sender

source ·
pub trait Sender: ErrorType {
    // Required method
    fn send(
        &mut self,
        frame_type: FrameType,
        frame_data: &[u8],
    ) -> Result<(), Self::Error>;
}

Required Methods§

source

fn send( &mut self, frame_type: FrameType, frame_data: &[u8], ) -> Result<(), Self::Error>

Implementations on Foreign Types§

source§

impl<S> Sender for &mut S
where S: Sender,

source§

fn send( &mut self, frame_type: FrameType, frame_data: &[u8], ) -> Result<(), Self::Error>

Implementors§