Skip to main content

StateChangeCallback

Type Alias StateChangeCallback 

Source
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 */ }