Trait fluvio_sc_schema::partition::store::PartitionMd [−][src]
pub trait PartitionMd<C> where
C: MetadataItem, { pub fn with_replicas(key: ReplicaKey, replicas: Vec<i32, Global>) -> Self; pub fn quick<S>(partition: ((S, i32), Vec<i32, Global>)) -> Self
where
S: Into<String>; }
Required methods
pub fn with_replicas(key: ReplicaKey, replicas: Vec<i32, Global>) -> Self
[src]
pub fn quick<S>(partition: ((S, i32), Vec<i32, Global>)) -> Self where
S: Into<String>,
[src]
S: Into<String>,
Implementors
impl<C> PartitionMd<C> for MetadataStoreObject<PartitionSpec, C> where
C: MetadataItem,
[src]
impl<C> PartitionMd<C> for MetadataStoreObject<PartitionSpec, C> where
C: MetadataItem,
[src]pub fn with_replicas(
key: ReplicaKey,
replicas: Vec<i32, Global>
) -> MetadataStoreObject<PartitionSpec, C>
[src]
key: ReplicaKey,
replicas: Vec<i32, Global>
) -> MetadataStoreObject<PartitionSpec, C>
create new partition with replica map. first element of replicas is leader
pub fn quick<S>(
partition: ((S, i32), Vec<i32, Global>)
) -> MetadataStoreObject<PartitionSpec, C> where
S: Into<String>,
[src]
partition: ((S, i32), Vec<i32, Global>)
) -> MetadataStoreObject<PartitionSpec, C> where
S: Into<String>,