Struct commitlog::OffsetRange [] [src]

pub struct OffsetRange(_, _);

Offset range of log append.

Methods

impl OffsetRange
[src]

Starting offset of the range.

Number of offsets within the range.

Boolean indicating whether the range has offsets.

Iterator containing all offsets within the offset range.

Trait Implementations

impl Copy for OffsetRange
[src]

impl Clone for OffsetRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for OffsetRange
[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 OffsetRange
[src]

impl Debug for OffsetRange
[src]

Formats the value using the given formatter.