Skip to content
API REFERENCEUsage guides →

cellpack::opt::RowCost ​

struct

Module contract · All interfaces

At a glance ​

pub struct RowCost {
    pub gather: f64,
    pub admit: f64,
}

Cached rows: core-seconds of gathering one into a worker’s scratch and of building and writing one, both per payload byte.

Fields and variants ​

gather ​

gather: f64

Gathering a cached row from its frames into a worker’s scratch, per payload byte.

admit ​

admit: f64

Building a decoded record’s row and writing it into its frames, per payload byte.

Implemented traits ​

impl Clone for RowCost
impl Debug for RowCost
impl Default for RowCost
impl<'de> Deserialize<'de> for RowCost

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition