From 2521c8910917a589e7e202452156b5fb073d4b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Mon, 20 Jul 2020 18:32:07 +0200 Subject: [PATCH] aquatic http protocol: Response::from_bytes: set to unimplemented!() --- aquatic_http_protocol/src/response.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aquatic_http_protocol/src/response.rs b/aquatic_http_protocol/src/response.rs index baf7057..f7576f9 100644 --- a/aquatic_http_protocol/src/response.rs +++ b/aquatic_http_protocol/src/response.rs @@ -189,9 +189,7 @@ impl Response { } pub fn from_bytes(bytes: &[u8]) -> anyhow::Result { - Ok(Self::Failure(FailureResponse { - failure_reason: "fake response".to_string() - })) + unimplemented!() } }