Trait fluvio::metadata::core::Spec

source ·
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§

Required Associated Constants§

source

const LABEL: &'static str

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Spec for RemoteSpec

source§

const LABEL: &'static str = "Remote"

§

type IndexKey = String

§

type Status = RemoteStatus

§

type Owner = RemoteSpec

Implementors§

source§

impl Spec for CustomSpuSpec

this is not real spec but is there to allow passing of parameters

source§

const LABEL: &'static str = "CustomSpu"

§

type IndexKey = String

§

type Status = SpuStatus

§

type Owner = SpuSpec

source§

impl Spec for PartitionSpec

source§

const LABEL: &'static str = "Partition"

§

type IndexKey = ReplicaKey

§

type Status = PartitionStatus

§

type Owner = TopicSpec

source§

impl Spec for SmartModuleSpec

source§

const LABEL: &'static str = "SmartModule"

§

type IndexKey = String

§

type Status = SmartModuleStatus

§

type Owner = SmartModuleSpec

source§

impl Spec for SpuGroupSpec

source§

const LABEL: &'static str = "SpuGroup"

§

type Status = SpuGroupStatus

§

type Owner = SpuGroupSpec

§

type IndexKey = String

source§

impl Spec for SpuSpec

source§

const LABEL: &'static str = "SPU"

§

type IndexKey = String

§

type Owner = SpuGroupSpec

§

type Status = SpuStatus

source§

impl Spec for TableFormatSpec

source§

const LABEL: &'static str = "TableFormat"

§

type Status = TableFormatStatus

§

type Owner = TableFormatSpec

§

type IndexKey = String

source§

impl Spec for TopicSpec

source§

const LABEL: &'static str = "Topic"

§

type IndexKey = String

§

type Status = TopicStatus

§

type Owner = TopicSpec