Struct commitlog::LogOptions [] [src]

pub struct LogOptions { /* fields omitted */ }

Commit log options allow customization of the commit log behavior.

Methods

impl LogOptions
[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

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

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

Trait Implementations

impl Clone for LogOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LogOptions
[src]

Formats the value using the given formatter.