Enum pagecache::SegmentMode[][src]

pub enum SegmentMode {
    Linear,
    Gc,
}

The log may be configured to write data in several different ways, depending on the constraints of the system using it.

Variants

Write to the end of the log, always.

Keep track of segment utilization, and reuse segments when their contents are fully relocated elsewhere. Will try to copy data out of segments once they reach a configurable threshold.

Trait Implementations

impl Debug for SegmentMode
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SegmentMode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for SegmentMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SegmentMode

impl Sync for SegmentMode