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

Method visit_bool

src/encode.rs:1299–1301  ·  view source on GitHub ↗
(&mut self, val: bool)

Source from the content-addressed store, hash-verified

1297 }
1298
1299 fn visit_bool(&mut self, val: bool) -> Result<(), Error> {
1300 write_bool(&mut self.wr, val).map_err(From::from)
1301 }
1302
1303 fn visit_u8(&mut self, val: u8) -> Result<(), Error> {
1304 self.visit_u64(val as u64)

Callers 1

visitMethod · 0.80

Calls 1

write_boolFunction · 0.85

Tested by

no test coverage detected