Skip to main content

MaybeRow

Type Alias MaybeRow 

Source
pub type MaybeRow = Option<Row>;
Expand description

A row that may be absent.

A lookup returns one of these per key asked for, in order, and None means the key had no row. Shortening the list instead would silently misalign every answer after the missing one.

Aliased Type§

pub enum MaybeRow {
    None,
    Some(Row),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Row)

Some value of type T.