mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic http protocol: Response::from_bytes: set to unimplemented!()
This commit is contained in:
parent
95e6eebd67
commit
2521c89109
1 changed files with 1 additions and 3 deletions
|
|
@ -189,9 +189,7 @@ impl Response {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn from_bytes(bytes: &[u8]) -> anyhow::Result<Self> {
|
pub fn from_bytes(bytes: &[u8]) -> anyhow::Result<Self> {
|
||||||
Ok(Self::Failure(FailureResponse {
|
unimplemented!()
|
||||||
failure_reason: "fake response".to_string()
|
|
||||||
}))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue