Spec

Trait Spec 

Source
pub trait Spec:
    Default
    + Debug
    + Clone
    + PartialEq
    + Send
    + Sync
    + 'static {
    type Status: Status;
    type Owner: Spec;
    type IndexKey: Debug + Eq + Hash + Clone + ToString + FromStr + Display + Send + Sync;

    const LABEL: &'static str;
}

Required Associated Constants§

Source

const LABEL: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§