1 2 3 4 5 6 7 8 9 10 11 12 13
use super::*; /// Thread-safe wrapper for UDP socket with read-write lock. /// /// Provides synchronized access to UDP socket operations. #[derive(Clone, Data, Debug)] pub struct ArcRwLockUdpSocket { /// Underlying UDP socket with read-write lock. #[get(pub(crate))] #[get_mut(pub(crate))] #[set(pub(crate))] pub(super) socket: ArcRwLock<UdpSocket>, }