Type Alias RowsFrameBound

Source
pub type RowsFrameBound = FrameBound<usize>;

Aliased Type§

enum RowsFrameBound {
    UnboundedPreceding,
    Preceding(usize),
    CurrentRow,
    Following(usize),
    UnboundedFollowing,
}

Variants§

§

UnboundedPreceding

§

Preceding(usize)

§

CurrentRow

§

Following(usize)

§

UnboundedFollowing

Implementations§

Source§

impl RowsFrameBound

Source

pub(super) fn from_protobuf_legacy(bound: &PbBound) -> Result<Self>

Source

fn from_protobuf(bound: &PbRowsFrameBound) -> Result<Self>

Source

fn to_protobuf(&self) -> PbRowsFrameBound

Source§

impl RowsFrameBound

Source

pub fn to_offset(&self) -> Option<isize>

Convert the bound to sized offset from current row. None if the bound is unbounded.