udp_pool/lib.rs
1mod connection;
2mod id;
3pub mod pool;
4pub mod sender;
5
6pub(crate) type UdpTx = tokio::sync::mpsc::Sender<bytes::BytesMut>;
7pub(crate) type UdpRx = tokio::sync::mpsc::Receiver<bytes::BytesMut>;
8
9// re-exports
10pub use bytes;
11pub use cpool::Error;
12pub use pool::*;
13pub use sender::Sender;