pub trait Spec: Default + Debug + Clone + PartialEq + Serialize + DeserializeOwned + Send + Sync + 'static {
type Status: Status + Serialize + DeserializeOwned;
type Owner: Spec;
type IndexKey: Debug + Eq + Hash + Clone + ToString + FromStr + Display + Send + Sync;
const LABEL: &'static str;
}
Required Associated Types§
type Status: Status + Serialize + DeserializeOwned
type Owner: Spec
type IndexKey: Debug + Eq + Hash + Clone + ToString + FromStr + Display + Send + Sync
Required Associated Constants§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl Spec for MirrorSpec
impl Spec for MirrorSpec
source§impl Spec for MirrorConnect
impl Spec for MirrorConnect
Implementors§
source§impl Spec for CustomSpuSpec
impl Spec for CustomSpuSpec
this is not real spec but is there to allow passing of parameters