pub struct ProductionConfig {
pub connection: ConnectionConfig,
pub performance: PerformanceConfig,
pub monitoring: MonitoringConfig,
pub security: SecurityConfig,
pub logging: LoggingConfig,
pub plc_settings: HashMap<String, PlcSpecificConfig>,
}ProductionConfig is not consumed by EipClient and implies unsupported enforcement; configure EipClient/Client/Fleet directly. The type will be removed in 2.0.
Expand description
Production configuration for EtherNet/IP library
Fieldsยง
ยงconnection: ConnectionConfigProductionConfig is not consumed by EipClient and implies unsupported enforcement; configure EipClient/Client/Fleet directly. The type will be removed in 2.0.
Connection settings
performance: PerformanceConfigProductionConfig is not consumed by EipClient and implies unsupported enforcement; configure EipClient/Client/Fleet directly. The type will be removed in 2.0.
Performance settings
monitoring: MonitoringConfigProductionConfig is not consumed by EipClient and implies unsupported enforcement; configure EipClient/Client/Fleet directly. The type will be removed in 2.0.
Monitoring settings
security: SecurityConfigProductionConfig is not consumed by EipClient and implies unsupported enforcement; configure EipClient/Client/Fleet directly. The type will be removed in 2.0.
Security settings
logging: LoggingConfigProductionConfig is not consumed by EipClient and implies unsupported enforcement; configure EipClient/Client/Fleet directly. The type will be removed in 2.0.
Logging settings
plc_settings: HashMap<String, PlcSpecificConfig>ProductionConfig is not consumed by EipClient and implies unsupported enforcement; configure EipClient/Client/Fleet directly. The type will be removed in 2.0.
PLC-specific settings
Implementationsยง
Sourceยงimpl ProductionConfig
impl ProductionConfig
Sourcepub fn get_plc_config(&self, plc_address: &str) -> Option<&PlcSpecificConfig>
pub fn get_plc_config(&self, plc_address: &str) -> Option<&PlcSpecificConfig>
Get PLC-specific configuration
Sourcepub fn set_plc_config(&mut self, plc_address: String, config: PlcSpecificConfig)
pub fn set_plc_config(&mut self, plc_address: String, config: PlcSpecificConfig)
Add or update PLC-specific configuration
Sourcepub fn development() -> Self
pub fn development() -> Self
Create a development configuration
Sourcepub fn production() -> Self
pub fn production() -> Self
Create a production configuration
Trait Implementationsยง
Sourceยงimpl Clone for ProductionConfig
impl Clone for ProductionConfig
Sourceยงfn clone(&self) -> ProductionConfig
fn clone(&self) -> ProductionConfig
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more