Skip to main content

udp_request/
lib.rs

1//! udp-request
2//!
3//! A simple UDP request library for sending and receiving UDP packets,
4//! designed to handle network communication in Rust applications.
5
6mod common;
7mod request;
8mod response;
9
10pub use {request::*, response::*};
11
12use common::*;
13
14use lombok_macros::*;
15
16use std::{
17    fmt::Debug,
18    fmt::{self, Display},
19    net::UdpSocket,
20    sync::{Arc, PoisonError, RwLock, RwLockReadGuard, RwLockWriteGuard},
21    time::Duration,
22};