Struct usiagent::player::AutoKeepAlive[][src]

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

KeepAliveの送信を指定された間隔で定期的に行う

note: このオブジェクトはKeepAliveSenderを実装した型のautoメソッドから返されますが、 必ず返された値を_から始まる任意の名前の変数に格納して、KeepAliveの送信が必要なくなるタイミングまで保持してください。 このオブジェクトがスコープを抜けてdropされた時点でKeepAlive送信スレッドには停止要求が投げられ、 その後KeepAlive送信処理は終了します。

Trait Implementations

Executes the destructor for this 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.