Struct commitlog::LogOptions [−][src]
pub struct LogOptions { /* fields omitted */ }
Expand description
Commit log options allow customization of the commit log behavior.
Implementations
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
Bounds the size of a log segment to a number of bytes.
Bounds the size of an individual memory-mapped index file.
Bounds the size of a message to a number of bytes.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LogOptions
impl Send for LogOptions
impl Sync for LogOptions
impl Unpin for LogOptions
impl UnwindSafe for LogOptions
Blanket Implementations
Mutably borrows from an owned value. Read more