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

Method write_list_begin

lib/rs/src/protocol/binary.rs:483–486  ·  view source on GitHub ↗
(&mut self, identifier: &TListIdentifier)

Source from the content-addressed store, hash-verified

481 }
482
483 fn write_list_begin(&mut self, identifier: &TListIdentifier) -> crate::Result<()> {
484 self.write_byte(field_type_to_u8(identifier.element_type))?;
485 self.write_i32(identifier.size)
486 }
487
488 fn write_list_end(&mut self) -> crate::Result<()> {
489 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