pub struct CommitHandlerConfig {
pub batch_size_threshold: u64,
pub process_interval_ms: u64,
pub max_entries_per_chunk: usize,
}
Expand description
Submit processor-specific configuration
Fields§
§batch_size_threshold: u64
§process_interval_ms: u64
§max_entries_per_chunk: usize
Trait Implementations§
Source§impl Clone for CommitHandlerConfig
impl Clone for CommitHandlerConfig
Source§fn clone(&self) -> CommitHandlerConfig
fn clone(&self) -> CommitHandlerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommitHandlerConfig
impl Debug for CommitHandlerConfig
Source§impl Default for CommitHandlerConfig
impl Default for CommitHandlerConfig
Source§impl<'de> Deserialize<'de> for CommitHandlerConfig
impl<'de> Deserialize<'de> for CommitHandlerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CommitHandlerConfig
impl RefUnwindSafe for CommitHandlerConfig
impl Send for CommitHandlerConfig
impl Sync for CommitHandlerConfig
impl Unpin for CommitHandlerConfig
impl UnwindSafe for CommitHandlerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request