Enum rdkafka::admin::TopicReplication[][src]

pub enum TopicReplication<'a> {
    Fixed(i32),
    Variable(PartitionAssignment<'a>),
}

Replication configuration for a new topic.

Variants

Fixed(i32)

All partitions should use the same fixed replication factor.

Variable(PartitionAssignment<'a>)

Each partition should use the replica assignment from PartitionAssignment.

Trait Implementations

impl<'a> Debug for TopicReplication<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TopicReplication<'a>

impl<'a> Send for TopicReplication<'a>

impl<'a> Sync for TopicReplication<'a>

impl<'a> Unpin for TopicReplication<'a>

impl<'a> UnwindSafe for TopicReplication<'a>

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.