pub enum ProtocolConfig {
ModbusTcp(ModbusTcpConfig),
ModbusRtu(ModbusRtuConfig),
OpcUa(OpcUaConfig),
BacnetIp(BacnetIpConfig),
KnxIp(KnxIpConfig),
}Expand description
Protocol-specific configuration.
Variants§
ModbusTcp(ModbusTcpConfig)
Modbus TCP configuration.
ModbusRtu(ModbusRtuConfig)
Modbus RTU configuration.
OpcUa(OpcUaConfig)
OPC UA configuration.
BacnetIp(BacnetIpConfig)
BACnet/IP configuration.
KnxIp(KnxIpConfig)
KNXnet/IP configuration.
Trait Implementations§
Source§impl Clone for ProtocolConfig
impl Clone for ProtocolConfig
Source§fn clone(&self) -> ProtocolConfig
fn clone(&self) -> ProtocolConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProtocolConfig
impl Debug for ProtocolConfig
Source§impl<'de> Deserialize<'de> for ProtocolConfig
impl<'de> Deserialize<'de> for ProtocolConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProtocolConfig
impl RefUnwindSafe for ProtocolConfig
impl Send for ProtocolConfig
impl Sync for ProtocolConfig
impl Unpin for ProtocolConfig
impl UnsafeUnpin for ProtocolConfig
impl UnwindSafe for ProtocolConfig
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