Skip to main content

to_bytes

Function to_bytes 

Source
fn to_bytes<T: Serialize>(value: &T) -> Result<Bytes>