Skip to main content

wire_meta_from_sent_bytes

Function wire_meta_from_sent_bytes 

Source
pub fn wire_meta_from_sent_bytes(
    key: &TraceDigestKey,
    sent_bytes: &[u8],
) -> WireMeta
Expand description

Compute exact-wire metadata from the very byte buffer handed to the transport. This is the ONLY constructor for WireMeta used by transports — there is no re-serialization path.