pub async fn send_to<P>(&mut self, buf: &[u8], target: P) -> io::Result<usize>
    where
        P: AsRef<Path> + Unpin,
    {
        poll_fn(|cx| self.inner.poll_send_to_priv(cx, buf, target.as_ref())).await
    }
/// Sends data on the socket to the specified address.
Sends data on the socket to the specified address.
Sends data on the socket to the specified address .
pub async fn send_to<P>(&mut self, buf: &[u8], target: P) -> io::Result<usize>
    where
        P: AsRef<Path> + Unpin,
    {
        poll_fn(|cx| self.inner.poll_send_to_priv(cx, buf, target.as_ref())).await
    }
pub async fn send_to < P > ( & mut self , buf : & [ u8 ] , target : P ) -> io :: Result < usize > where P : AsRef < Path > + Unpin , { poll_fn ( | cx | self . inner . poll_send_to_priv ( cx , buf , target . as_ref ( ) ) ) . await }
Sends data on the socket to the specified address.
Sends data on the socket to the specified address .
&mut self
buf
&[u8]
target
P
&mut self
buf
&[u8]
target
P