pub type DisconnectedCallback = dyn FnMut(&AsyncClient, Properties, ReasonCode) + Send + 'static;
Expand description

User callback type for when the client receives a disconnect packet.