Struct slmp_client::SLMPConnectionInfo[][src]

pub struct SLMPConnectionInfo { /* fields omitted */ }
Expand description

SLMPの接続管理

Implementations

TCPにてSLMP接続を作成

引数

  • addr - 接続先

UDPにてSLMP接続を作成

引数

  • addr - 接続先

SLMPの応答を受信

引数

  • connection_info - 接続情報

返値

シリアル番号と受信ペイロードと終了コード

SLMPコマンドを送信する

引数

  • connection_info - SLMPの接続情報
  • timeout - SLMPコマンドのタイムアウト時間、単位は250ms
  • cmd - SLMPコマンド
  • sub_command - サブコマンド
  • content_data - コマンドごとの付属データ

返値

送信したコマンドに対応するシリアル番号

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.