Enum commitlog::ReadPosition
[−]
[src]
pub enum ReadPosition { Beginning, Offset(Offset), Position(LogPosition), }
Starting location of a read
Variants
Beginning
Start reading from the initial offset
Offset(Offset)
Start reading from a specified offset
Position(LogPosition)
Start readong from a previous position
Trait Implementations
impl Copy for ReadPosition
[src]
impl Clone for ReadPosition
[src]
fn clone(&self) -> ReadPosition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for ReadPosition
[src]
fn eq(&self, __arg_0: &ReadPosition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ReadPosition) -> bool
This method tests for !=
.