pub fn get_response_section_size(result: Option<Bson>) -> Result<usize, Error>Expand description
Computes the required size of a Honk-RPC response section in bytes.
Returns the size of the BSON-encoded response section. If BSON encoding fails,
an Error::BsonWriteFailed is returned.