Enum commitlog::ReadPosition [] [src]

pub enum ReadPosition {
    Beginning,
    Offset(Offset),
    Position(LogPosition),
}

Starting location of a read

Variants

Start reading from the initial offset

Start reading from a specified offset

Start readong from a previous position

Trait Implementations

impl Copy for ReadPosition
[src]

impl Clone for ReadPosition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ReadPosition
[src]

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

This method tests for !=.

impl Eq for ReadPosition
[src]

impl Debug for ReadPosition
[src]

Formats the value using the given formatter.