1
0
Fork 0
forked from wry/wry

all: update dependencies

This commit is contained in:
Julian Orth 2022-12-31 22:18:48 +01:00
parent 913b9d7213
commit 9863957779
5 changed files with 389 additions and 156 deletions

View file

@ -1023,11 +1023,11 @@ impl ConfigProxyHandler {
}
fn handle_request_(self: &Rc<Self>, msg: &[u8]) -> Result<(), CphError> {
let (request, _) = match bincode::decode_from_slice::<ClientMessage, _>(msg, bincode_ops())
{
Ok(msg) => msg,
Err(e) => return Err(CphError::ParsingFailed(e)),
};
let (request, _) =
match bincode::borrow_decode_from_slice::<ClientMessage, _>(msg, bincode_ops()) {
Ok(msg) => msg,
Err(e) => return Err(CphError::ParsingFailed(e)),
};
match request {
ClientMessage::Log {
level,