MCPcopy Create free account
hub / github.com/3Hren/msgpack-rust / visit_unit

Method visit_unit

src/encode.rs:1295–1297  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1293 type Error = Error;
1294
1295 fn visit_unit(&mut self) -> Result<(), Error> {
1296 write_nil(&mut self.wr).map_err(From::from)
1297 }
1298
1299 fn visit_bool(&mut self, val: bool) -> Result<(), Error> {
1300 write_bool(&mut self.wr, val).map_err(From::from)

Callers 2

visit_noneMethod · 0.80
visitMethod · 0.80

Calls 1

write_nilFunction · 0.85

Tested by

no test coverage detected