Searched refs:to_bytes (Results 1 – 3 of 3) sorted by relevance
139 let mut body = body.collect().await.unwrap().to_bytes(); in decode_body()
129 metadata.get_bin(BINARY_NAME).unwrap().to_bytes().unwrap(), in status_with_metadata()
129 pub fn to_bytes(&self) -> Result<Bytes, InvalidMetadataValueBytes> { in to_bytes() method620 match self.to_bytes() { in hash()