MCPcopy Create free account
hub / github.com/apache/thrift / write_set_begin

Method write_set_begin

lib/rs/src/protocol/binary.rs:492–495  ·  view source on GitHub ↗
(&mut self, identifier: &TSetIdentifier)

Source from the content-addressed store, hash-verified

490 }
491
492 fn write_set_begin(&mut self, identifier: &TSetIdentifier) -> crate::Result<()> {
493 self.write_byte(field_type_to_u8(identifier.element_type))?;
494 self.write_i32(identifier.size)
495 }
496
497 fn write_set_end(&mut self) -> crate::Result<()> {
498 Ok(())

Callers

nothing calls this directly

Calls 3

field_type_to_u8Function · 0.85
write_byteMethod · 0.45
write_i32Method · 0.45

Tested by

no test coverage detected