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§
fn set_first_timestamp(&mut self, timestamp: i64)
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".