Skip to main content

assert_roundtrip

Function assert_roundtrip 

Source
pub fn assert_roundtrip(packet: &BridgePacket, book: &BridgeBook) -> Result<()>
Expand description

Asserts that encoding then decoding reproduces the same packet.