Enum nakadion::CommitStrategy [] [src]

pub enum CommitStrategy {
    AllBatches,
    MaxAge,
    EveryNSeconds(u16),
    EveryNBatches(u16),
    EveryNEvents(u16),
}

Stragtegy for committing cursors

Variants

Commit all cursors immediately

Commit as late as possile

Commit latest after N seconds

Commit latest after N batches

Commit latest after N events

Trait Implementations

impl Debug for CommitStrategy
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CommitStrategy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CommitStrategy
[src]

impl Display for CommitStrategy
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for CommitStrategy
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

Auto Trait Implementations