hyperlane_plugin_session/type.rs
1use super::*;
2
3/// Boxed `Send` future returned by async [`SessionStore`] trait methods.
4pub type SessionFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
5
6/// Fast internal hash map backed by [`SessionFxBuildHasher`].
7pub(crate) type SessionFxHashMap<K, V> = HashMap<K, V, SessionFxBuildHasher>;