Enum nakadion::CommitStrategy [] [src]

pub enum CommitStrategy {
    AllBatches,
    Latest,
    AfterSeconds {
        seconds: u16,
    },
    Batches {
        after_batches: u32,
        after_seconds: Option<u16>,
    },
    Events {
        after_events: u32,
        after_seconds: Option<u16>,
    },
}

Stragtegy for committing cursors

Variants

Commit all cursors immediately

Commit as late as possile

Commit latest after N seconds

Fields of AfterSeconds

Fields of Batches

Fields of 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]

Auto Trait Implementations