Skip to main content

to_bincode

Function to_bincode 

Source
pub fn to_bincode(doctree: &Doctree) -> Vec<u8> ⓘ
Expand description

Encode a doctree to its bincode wire format (config: standard()). Infallible in practice: every field either derives Serialize or goes through the interner’s plain string encoding, neither of which can fail.