pub fn send_unconfirmed<T: Into<TParam::TSend>>(
        &mut self,
        socket: &mut dyn Socket,
        msg: T,
    ) -> Result<()> {
        send_packet_to(
            self.peer_addr,
            socket,
            &Packet::Data {
                data: msg.into(),
                message_id: None,
            },
        )?;
        Ok(())
    }
/// Send an unconfirmed message to the other connector. It is not guaranteed that this message will ever arrive.
///
/// This is useful for data that does not have to arrive. Think of things like player movements, frames of a lossy video stream, etc.
Send an unconfirmed message to the other connector. It is not guaranteed that this message will ever arrive.
This is useful for data that does not have to arrive. Think of things like player movements, frames of a lossy video stream, etc.
Send an unconfirmed message to the other connector . It is not guaranteed that this message will ever arrive . This is useful for data that does not have to arrive . Think of things like player movements frames of a lossy video stream etc .
pub fn send_unconfirmed<T: Into<TParam::TSend>>(
        &mut self,
        socket: &mut dyn Socket,
        msg: T,
    ) -> Result<()> {
        send_packet_to(
            self.peer_addr,
            socket,
            &Packet::Data {
                data: msg.into(),
                message_id: None,
            },
        )?;
        Ok(())
    }
pub fn send_unconfirmed < T : Into < TParam :: TSend > > ( & mut self , socket : & mut dyn Socket , msg : T , ) -> Result < ( ) > { send_packet_to ( self . peer_addr , socket , & Packet :: Data { data : msg . into ( ) , message_id : None , } , ) ? ; Ok ( ( ) ) }
Send an unconfirmed message to the other connector.
Send an unconfirmed message to the other connector .
&mut self
socket
&mut dyn Socket
msg
T
&mut self
socket
&mut dyn Socket
msg
T