Enum nakadion::CommitStrategy
[−]
[src]
pub enum CommitStrategy { AllBatches, MaxAge, EveryNSeconds(u16), EveryNBatches(u16), EveryNEvents(u16), }
Stragtegy for committing cursors
Variants
AllBatches
Commit all cursors immediately
MaxAge
Commit as late as possile
EveryNSeconds(u16)
Commit latest after N seconds
EveryNBatches(u16)
Commit latest after N batches
EveryNEvents(u16)
Commit latest after N events
Trait Implementations
impl Debug for CommitStrategy
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CommitStrategy
[src]
fn clone(&self) -> CommitStrategy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CommitStrategy
[src]
impl Display for CommitStrategy
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more