pub trait VirtualConnectionlessSocketExt: VirtualConnectionlessSocket {
    // Required methods
    fn send_to<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        data: &'life1 [u8],
        addr: SocketAddr
    ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn recv_from<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        buf: &'life1 mut [MaybeUninit<u8>]
    ) -> Pin<Box<dyn Future<Output = Result<(usize, SocketAddr)>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn send_to<'life0, 'life1, 'async_trait>( &'life0 mut self, data: &'life1 [u8], addr: SocketAddr ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn recv_from<'life0, 'life1, 'async_trait>( &'life0 mut self, buf: &'life1 mut [MaybeUninit<u8>] ) -> Pin<Box<dyn Future<Output = Result<(usize, SocketAddr)>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§