Enum s7_client::ConnectionType
source · pub enum ConnectionType {
PG,
OP,
Basic,
}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
Connect to the PLC programming console (Programmiergeräte). German for programming device.
OP
Connect to the PLC Siemens HMI panel
Basic
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 copy 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 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