1 2 3 4 5 6 7
use super::*; /// Boxed `Send` future returned by async [`MessageBroker`] trait methods. pub type BrokerFuture<'a, T> = Pin<Box<dyn Future<Output = Result<T, MqError>> + Send + 'a>>; /// Fast zero-dependency FNV-1a hash map used inside broker shards and topics. pub(crate) type FnvHashMap<K, V> = HashMap<K, V, BuildHasherDefault<FnvHasher>>;