Struct commitlog::LogOptions [] [src]

pub struct LogOptions { /* fields omitted */ }

Commit log options allow customization of the commit log behavior.

Methods

impl LogOptions
[src]

[src]

Creates minimal log options value with a directory containing the log.

The default values are: - segment_max_bytes: 1GB - index_max_entries: 100,000 - message_max_bytes: 1mb

[src]

Bounds the size of a log segment to a number of bytes.

[src]

Bounds the size of an individual memory-mapped index file.

[src]

Bounds the size of a message to a number of bytes.

Trait Implementations

impl Clone for LogOptions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for LogOptions
[src]

[src]

Formats the value using the given formatter.