Function encode

Source
pub async fn encode(encodable: &impl Encodable) -> Result<Vec<u8>>
Expand description

Encode to a binary buffer.