Trait BlockHeightRangeBounds

Source
pub trait BlockHeightRangeBounds {
    // Required method
    fn to_inclusive(&self) -> Option<(BlockHeight, BlockHeight)>;
}
Expand description

Allows converting BlockHeight ranges to inclusive tuples of bounds.

Required Methods§

Source

fn to_inclusive(&self) -> Option<(BlockHeight, BlockHeight)>

Returns the range as a tuple of inclusive bounds. If the range is empty, returns None.

Implementors§