Skip to content
API REFERENCEUsage guides →

cellpack::opt::defaults::Storage ​

struct

Module contract · All interfaces

At a glance ​

pub struct Storage {
    pub iops: f64,
    pub bandwidth: f64,
    pub request: f64,
    pub serial: f64,
}

Device rates of a tier and its per-request worker cost.

Fields and variants ​

iops ​

iops: f64

Read requests per second.

bandwidth ​

bandwidth: f64

Bytes per second.

request ​

request: f64

Core-seconds of building, submitting and harvesting one request.

serial ​

serial: f64

Share of the shorter of device and worker time that does not overlap the longer, in [0, 1].

Implemented traits ​

impl Clone for Storage
impl Debug for Storage

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