pub enum ConnectionType {
PG = 1,
OP = 2,
Basic = 3,
}Expand description
Client Connection Type 16 possible connections limited by the hardware The types are defined from the highest to lowest priority The basic connections are the first which would be closed if there aren’t enough resources
Variants§
PG = 1
Connect to the PLC programming console (Programmiergeräte). German for programming device.
OP = 2
Connect to the PLC Siemens HMI panel
Basic = 3
Basic connection for generic data transfer connection 14 Basic connections
Trait Implementations§
Source§impl Clone for ConnectionType
impl Clone for ConnectionType
Source§fn clone(&self) -> ConnectionType
fn clone(&self) -> ConnectionType
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 ConnectionType
impl Debug for ConnectionType
Source§impl Default for ConnectionType
impl Default for ConnectionType
Source§impl<'de> Deserialize<'de> for ConnectionType
impl<'de> Deserialize<'de> for ConnectionType
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
Source§impl Serialize for ConnectionType
impl Serialize for ConnectionType
impl Copy for ConnectionType
Auto Trait Implementations§
impl Freeze for ConnectionType
impl RefUnwindSafe for ConnectionType
impl Send for ConnectionType
impl Sync for ConnectionType
impl Unpin for ConnectionType
impl UnwindSafe for ConnectionType
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