Function read_with

Source
pub async fn read_with<R>(
    udp: &UdpSocket,
    op: impl FnMut() -> Result<R>,
) -> Result<R>