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

Function must_write_stop_field

lib/rs/src/protocol/binary.rs:790–797  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

788
789 #[test]
790 fn must_write_stop_field() {
791 let (_, mut o_prot) = test_objects(true);
792
793 assert!(o_prot.write_field_stop().is_ok());
794
795 let expected: [u8; 1] = [0x00];
796 assert_eq_written_bytes!(o_prot, expected);
797 }
798
799 #[test]
800 fn must_round_trip_field_stop() {

Callers

nothing calls this directly

Calls 1

test_objectsFunction · 0.70

Tested by

no test coverage detected