pub type StateChangeCallback = Arc<dyn Fn(ConnectionState, ConnectionState) + Send + Sync + 'static>;Expand description
Type alias for the state-change callback.
Aliased Typeยง
pub struct StateChangeCallback { /* private fields */ }pub type StateChangeCallback = Arc<dyn Fn(ConnectionState, ConnectionState) + Send + Sync + 'static>;Type alias for the state-change callback.
pub struct StateChangeCallback { /* private fields */ }