pub struct PlcConfig {
pub address: SocketAddr,
pub max_connections: u32,
pub connection_timeout: Duration,
pub health_check_interval: Duration,
pub max_packet_size: usize,
}
Expand description
Configuration for a PLC connection
Fields§
§address: SocketAddr
IP address and port of the PLC
max_connections: u32
Maximum number of connections to maintain
connection_timeout: Duration
Connection timeout in milliseconds
health_check_interval: Duration
Health check interval in milliseconds
max_packet_size: usize
Maximum packet size in bytes
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlcConfig
impl RefUnwindSafe for PlcConfig
impl Send for PlcConfig
impl Sync for PlcConfig
impl Unpin for PlcConfig
impl UnwindSafe for PlcConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more