Struct commitlog::OffsetRange
[−]
[src]
pub struct OffsetRange(_, _);
Offset range of log append.
Methods
impl OffsetRange
[src]
fn first(&self) -> Offset
Starting offset of the range.
fn len(&self) -> usize
Number of offsets within the range.
fn iter(&self) -> OffsetRangeIter
Iterator containing all offsets within the offset range.
Trait Implementations
impl Copy for OffsetRange
[src]
impl Clone for OffsetRange
[src]
fn clone(&self) -> OffsetRange
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 OffsetRange
[src]
fn eq(&self, __arg_0: &OffsetRange) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OffsetRange) -> bool
This method tests for !=
.