floria 0.0.5

Floria data system for cloud orchestration
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::{super::super::store::*, plugin::*};

use std::sync::*;

/// Common reference type for [DispatchPlugin].
pub type DispatchPluginRef<StoreT> = Arc<Mutex<DispatchPlugin<StoreT>>>;

impl<StoreT> Into<DispatchPluginRef<StoreT>> for DispatchPlugin<StoreT>
where
    StoreT: Store,
{
    fn into(self) -> DispatchPluginRef<StoreT> {
        DispatchPluginRef::new(self.into())
    }
}