pub struct TcpCommunicationConfig {
pub ip_address: String,
pub port: u16,
pub execute: bool,
}Expand description
Holds the configuration data for the TCP connection. The configuration is loaded from the .toml configuration file. This struct does not contain any implementation.
Fields§
§ip_address: Stringhost address (either IP address or DNS entry)
port: u16numeric port number
execute: boolindicates if the thread shall be started or not
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TcpCommunicationConfig
impl<'de> Deserialize<'de> for TcpCommunicationConfig
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 TcpCommunicationConfig
impl RefUnwindSafe for TcpCommunicationConfig
impl Send for TcpCommunicationConfig
impl Sync for TcpCommunicationConfig
impl Unpin for TcpCommunicationConfig
impl UnwindSafe for TcpCommunicationConfig
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