MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / serialize_unit_variant

Method serialize_unit_variant

atomic-core/examples/graph_codec_lab/codec.rs:376–378  ·  view source on GitHub ↗
(self, _: &'static str, index: u32, _: &'static str)

Source from the content-addressed store, hash-verified

374 Ok(())
375 }
376 fn serialize_unit_variant(self, _: &'static str, index: u32, _: &'static str) -> SResult<()> {
377 self.small_number(3, index.into())
378 }
379 fn serialize_newtype_struct<T: Serialize + ?Sized>(
380 self,
381 _: &'static str,

Callers

nothing calls this directly

Calls 1

small_numberMethod · 0.80

Tested by

no test coverage detected