MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / write

Method write

nodedb/src/data/executor/dispatch/array/aggregate_helpers.rs:28–36  ·  view source on GitHub ↗
(&self, writer: &mut W)

Source from the content-addressed store, hash-verified

26
27impl zerompk::ToMessagePack for AggCell {
28 fn write<W: zerompk::Write>(&self, writer: &mut W) -> zerompk::Result<()> {
29 match self {
30 AggCell::Float(f) => writer.write_f64(*f),
31 AggCell::Int(i) => writer.write_i64(*i),
32 AggCell::Str(s) => writer.write_string(s),
33 AggCell::Bool(b) => writer.write_boolean(*b),
34 AggCell::Null => writer.write_nil(),
35 }
36 }
37}
38
39pub(super) fn coord_to_agg_cell(c: &CoordValue) -> AggCell {

Callers 2

handle_array_openMethod · 0.45

Calls

no outgoing calls

Tested by 1