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    error::Error,
18    fmt::Debug,
19    fmt::{self, Display},
20    io,
21    net::UdpSocket,
22    sync::{Arc, PoisonError, RwLock, RwLockReadGuard, RwLockWriteGuard},
23    time::Duration,
24};