Skip to main content

ProducerBatchHeader

Trait ProducerBatchHeader 

Source
pub trait ProducerBatchHeader {
    // Required methods
    fn set_first_timestamp(&mut self, timestamp: i64);
    fn set_max_time_stamp(&mut self, timestamp: i64);
}
Expand description

used for modifying timestamp as producer

Required Methods§

Source

fn set_first_timestamp(&mut self, timestamp: i64)

Source

fn set_max_time_stamp(&mut self, timestamp: i64)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§