1 2 3 4 5 6 7 8 9 10
use crate::*; /// TCP request structure containing configuration and response data. #[derive(Clone, Debug)] pub struct TcpRequest { /// Thread-safe configuration for the request. pub(crate) config: ArcRwLock<Config>, /// Thread-safe binary response storage. pub(crate) response: ArcRwLock<TcpResponseBinary>, }