You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: udp.rs
    path of file: ./repos/fuso/src/runtime/smol
    
    the code of the file until where you have to start completion: use std::{pin::Pin, net::SocketAddr, task::Poll};

use futures::Future;
use smol::net::AsyncToSocketAddrs;

use crate::{NetSocket, Address, Socket, UdpSocket};

type UFuture<T> = Pin<Box<dyn Future<Output = crate::Result<T>> + 'static>>;

pub struct
    
    pub async fn bind<A: AsyncToSocketAddrs>(addr: A) -> crate::Result<(SocketAddr, Self)> {
        let udp_server = smol::net::UdpSocket::bind(addr).await?;
        let listen_addr = udp_server.local_addr()?;
        Ok((
            listen_addr,
            Self {
                smol_udp: udp_server,
                recv_fut: Default::default(),
                recv_from_fut: Default::default(),
                send_fut: Default::default(),
                send_to_fut: Default::default(),
            },
        ))
    }