usecrate::config::{KeepAlive, SessionExpiryInterval};/// Negotiated configuration valid for the duration of a connection.
#[derive(Debug, Clone, Copy, Default)]#[cfg_attr(feature ="defmt",derive(defmt::Format))]pubstructConfig{/// The negotiated [`KeepAlive`] interval in seconds allowed to expire between sending two packets without the connection being closed.
pubkeep_alive: KeepAlive,
/// The negotiated [`SessionExpiryInterval`] after the connection has been closed.
pubsession_expiry_interval: SessionExpiryInterval,
}