Struct fluvio::dataplane::produce::ProduceRequest[][src]

pub struct ProduceRequest<R> where
    R: Encoder + Decoder + Default + Debug
{ pub transactional_id: Option<String>, pub acks: i16, pub timeout_ms: i32, pub topics: Vec<TopicProduceData<R>, Global>, pub data: PhantomData<R>, }

Fields

transactional_id: Option<String>

The transactional ID, or null if the producer is not transactional.

acks: i16

The number of acknowledgments the producer requires the leader to have received before considering a request complete. Allowed values: 0 for no acknowledgments, 1 for only the leader and -1 for the full ISR.

timeout_ms: i32

The timeout to await a response in miliseconds.

topics: Vec<TopicProduceData<R>, Global>

Each topic to produce to.

data: PhantomData<R>

Trait Implementations

impl<R> Debug for ProduceRequest<R> where
    R: Debug + Encoder + Decoder + Default
[src]

impl<R> Decoder for ProduceRequest<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl<R> Default for ProduceRequest<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl<R> Encoder for ProduceRequest<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl FileWrite for ProduceRequest<FileRecordSet>[src]

impl<R> Request for ProduceRequest<R> where
    R: Debug + Decoder + Encoder
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for ProduceRequest<R> where
    R: RefUnwindSafe
[src]

impl<R> Send for ProduceRequest<R> where
    R: Send
[src]

impl<R> Sync for ProduceRequest<R> where
    R: Sync
[src]

impl<R> Unpin for ProduceRequest<R> where
    R: Unpin
[src]

impl<R> UnwindSafe for ProduceRequest<R> where
    R: UnwindSafe
[src]

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, 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]