Struct fluvio_dataplane_protocol::ReplicaKey[][src]

pub struct ReplicaKey {
    pub topic: String,
    pub partition: i32,
}

Fields

topic: Stringpartition: i32

Implementations

impl ReplicaKey[src]

pub fn new<S, P>(topic: S, partition: P) -> Self where
    S: Into<String>,
    P: Into<i32>, 
[src]

pub fn split(self) -> (String, i32)[src]

Trait Implementations

impl Clone for ReplicaKey[src]

impl Debug for ReplicaKey[src]

impl Decoder for ReplicaKey[src]

impl Default for ReplicaKey[src]

impl Display for ReplicaKey[src]

impl Encoder for ReplicaKey[src]

impl Eq for ReplicaKey[src]

impl<S> From<(S, i32)> for ReplicaKey where
    S: Into<String>, 
[src]

impl Hash for ReplicaKey[src]

impl Ord for ReplicaKey[src]

impl PartialEq<ReplicaKey> for ReplicaKey[src]

impl PartialOrd<ReplicaKey> for ReplicaKey[src]

impl Send for ReplicaKey[src]

impl StructuralEq for ReplicaKey[src]

impl StructuralPartialEq for ReplicaKey[src]

impl Sync for ReplicaKey[src]

impl TryFrom<String> for ReplicaKey[src]

type Error = PartitionError

The type returned in the event of a conversion error.

Auto Trait Implementations

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> 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.