pub type ErrorCallback = Arc<dyn Fn(&str, &WebSocketError) + Send + Sync>;Expand description
Error handling callback Takes the original message and the error from the primary callback Called only when the primary callback returns an error
Aliased Typeยง
pub struct ErrorCallback { /* private fields */ }