fn send_no_prefix(&mut self, addr: &str, args: Vec<OscType>) {
        let message = OscMessage {
            addr: addr.to_owned(),
            args,
        };
        let packet = OscPacket::Message(message);
        debug!("⇨ {:?}", packet);
        let bytes: Vec<u8> = encode(&packet).unwrap();
        match self.tx.unbounded_send(bytes) {
            Ok(()) => {}
            Err(_) => {
                error!("Send channel disconnected");
            }
        }
    }
/// Packs the OSC message into an u8 vector and sends it to the transport.
Packs the OSC message into an u8 vector and sends it to the transport.
Packs the OSC message into an u8 vector and sends it to the transport .
fn send_no_prefix(&mut self, addr: &str, args: Vec<OscType>) {
        let message = OscMessage {
            addr: addr.to_owned(),
            args,
        };
        let packet = OscPacket::Message(message);
        debug!("⇨ {:?}", packet);
        let bytes: Vec<u8> = encode(&packet).unwrap();
        match self.tx.unbounded_send(bytes) {
            Ok(()) => {}
            Err(_) => {
                error!("Send channel disconnected");
            }
        }
    }
fn send_no_prefix ( & mut self , addr : & str , args : Vec < OscType > ) { let message = OscMessage { addr : addr . to_owned ( ) , args , } ; let packet = OscPacket :: Message ( message ) ; debug ! ( " cket); let bytes : Vec < u8 > = encode ( & packet ) . unwrap ( ) ; match self . tx . unbounded_send ( bytes ) { Ok ( ( ) ) => { } Err ( _ ) => { error ! ( " " ) ; } } }
Packs the OSC message into an u8 vector and sends it to the transport.
Packs the OSC message into an u8 vector and sends it to the transport .
&mut self
addr
&str
args
Vec<OscType>
&mut self
addr
&str
args
Vec<OscType>