Struct tokio_mqttc::proto::LWTMessage
[−]
[src]
pub struct LWTMessage { pub topic: MqttString, pub qos: QualityOfService, pub retain: bool, pub message: Bytes, }
Fields
topic: MqttString
qos: QualityOfService
retain: bool
message: Bytes
Methods
impl LWTMessage
[src]
Last Will and Testament
This is sent if a client disconnects ungracefully to the specified topic. The broker will discard this message if a DISCONNECT is received by the broker.