[][src]Struct talk_loco_commands::structs::connection::ConnectionData

pub struct ConnectionData {
    pub background_keep_interval: i32,
    pub background_reconnect_interval: i32,
    pub background_interval: i32,
    pub ping_interval: i32,
    pub request_timeout: i32,
    pub encrypt_type: i32,
    pub connection_timeout: i32,
    pub receive_header_timeout: i32,
    pub in_seg_timeout: i32,
    pub out_seg_timeout: i32,
    pub block_send_buffer_size: i32,
    pub ports: Vec<i32>,
}

ConnectionData includes ports, connection configuartion

Fields

background_keep_interval: i32

Keep interval(?) when background

background_reconnect_interval: i32

Reconnect interval when background

background_interval: i32

Ping interval when background

ping_interval: i32

Ping interval

request_timeout: i32

Request timeout

encrypt_type: i32

Encrypt type, but loco_protocol only supports 2 and server seems to use 2 only.

connection_timeout: i32

Connection timeout

receive_header_timeout: i32

Header timeout

in_seg_timeout: i32

IN segment timeout

out_seg_timeout: i32

OUT segment timeout

block_send_buffer_size: i32

TCP buffer size

ports: Vec<i32>

Port list

Trait Implementations

impl Clone for ConnectionData[src]

impl Debug for ConnectionData[src]

impl<'de> Deserialize<'de> for ConnectionData[src]

impl Serialize for ConnectionData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,