pub struct AutoSaveConfig {
pub save_interval: Duration,
pub max_batch_size: usize,
pub max_retries: usize,
}Expand description
Configuration for auto-save behavior.
Fields§
§save_interval: DurationMinimum interval between saves (debounce duration).
max_batch_size: usizeMaximum number of messages to batch before forcing a save.
max_retries: usizeMaximum number of retry attempts on save failure.
Trait Implementations§
Source§impl Clone for AutoSaveConfig
impl Clone for AutoSaveConfig
Source§fn clone(&self) -> AutoSaveConfig
fn clone(&self) -> AutoSaveConfig
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 AutoSaveConfig
impl Debug for AutoSaveConfig
Auto Trait Implementations§
impl Freeze for AutoSaveConfig
impl RefUnwindSafe for AutoSaveConfig
impl Send for AutoSaveConfig
impl Sync for AutoSaveConfig
impl Unpin for AutoSaveConfig
impl UnwindSafe for AutoSaveConfig
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