Enum InternalParam

Source
pub enum InternalParam {
Show 15 variants LocalPort = 1, RemotePort = 2, PingTimeout = 3, SendTimeout = 4, RecvTimeout = 5, WorkInterval = 6, SrcRef = 7, DstRef = 8, SrcTSap = 9, PDURequest = 10, MaxClients = 11, BSendTimeout = 12, BRecvTimeout = 13, RecoveryTime = 14, KeepAliveTime = 15,
}
Expand description

Snap 7 内部参数

Variants§

§

LocalPort = 1

Socket 本地端口

§

RemotePort = 2

Socket 远程端口

§

PingTimeout = 3

Client Ping 超时

§

SendTimeout = 4

Socket 发送超时

§

RecvTimeout = 5

Socket 接收超时

§

WorkInterval = 6

Socket 作业间隔

§

SrcRef = 7

ISOTcp Source reference

§

DstRef = 8

ISOTcp Destination reference

§

SrcTSap = 9

ISOTcp Source TSAP

§

PDURequest = 10

初始 PDU 请求长度

§

MaxClients = 11

允许的最大客户端数

§

BSendTimeout = 12

BSend 发送超时

§

BRecvTimeout = 13

BSend 接收超时

§

RecoveryTime = 14

断线恢复时间

§

KeepAliveTime = 15

(PLC)伙伴存活检测时间

Trait Implementations§

Source§

impl Debug for InternalParam

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.