//! This module provides data structures and enumrates that are used
//! as a bridge between the communication of both the plugin and the host.
usestd::sync::Arc;modipc;modregistration;modshared;pubuseipc::*;pubuseregistration::*;pubuseshared::*;// === handlers === //
pubtypeConfigCallbackFn=Arc<dyn Fn(&str, &str)+Send+Sync>;pubtraitConfigCallbackFnExt{fnnew<F>(f: F)->Selfwhere
F: Fn(&str, &str) + Send + Sync + 'static;
}
impl ConfigCallbackFnExt for ConfigCallbackFn {fnnew<F>(f: F)->Selfwhere
F: Fn(&str, &str) + Send + Sync + 'static,
{Arc::new(f)}}