[]Struct fluvio::metadata::partition::Replica

pub struct Replica {
    pub id: ReplicaKey,
    pub leader: i32,
    pub replicas: Vec<i32>,
}

Fields

id: ReplicaKeyleader: i32replicas: Vec<i32>

Implementations

impl Replica

pub fn new(id: ReplicaKey, leader: i32, replicas: Vec<i32>) -> Replica

Trait Implementations

impl Clone for Replica

impl Debug for Replica

impl Decoder for Replica

impl Default for Replica

impl Display for Replica

impl Encoder for Replica

impl<C> From<MetadataStoreObject<PartitionSpec, C>> for Replica where
    C: MetadataItem

impl PartialEq<Replica> for Replica

impl StructuralPartialEq for Replica

Auto Trait Implementations

impl RefUnwindSafe for Replica

impl Send for Replica

impl Sync for Replica

impl Unpin for Replica

impl UnwindSafe for Replica

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]