udp 3.1.0

A lightweight and efficient Rust library for building UDP servers with request-response handling.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::*;

/// Thread-safe wrapper for UDP socket with read-write lock.
///
/// Provides synchronized access to UDP socket operations.
#[derive(Clone, Debug)]
pub struct ArcRwLockUdpSocket {
    /// Underlying UDP socket with read-write lock.
    pub(super) socket: ArcRwLock<UdpSocket>,
}