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