Skip to main content

write_tpc_to_vec

Function write_tpc_to_vec 

Source
pub fn write_tpc_to_vec(tpc: &Tpc) -> Result<Vec<u8>, TpcBinaryError>
Expand description

Serializes TPC data to a byte vector.

ยงErrors

Every non-I/O failure write_tpc describes. The Vec target has no I/O to fail at.