Struct serenity::client::bridge::gateway::ShardRunnerInfo [−][src]
pub struct ShardRunnerInfo { pub latency: Option<StdDuration>, pub runner_tx: ShardMessenger, pub stage: ConnectionStage, }
Expand description
Information about a ShardRunner
.
The ShardId
is not included because, as it stands, you probably already
know the Id if you obtained this.
Fields
latency: Option<StdDuration>
The latency between when a heartbeat was sent and when the acknowledgement was received.
runner_tx: ShardMessenger
The channel used to communicate with the shard runner, telling it what to do with regards to its status.
stage: ConnectionStage
The current connection stage of the shard.
Trait Implementations
Performs the conversion.