This commit is contained in:
Dominik Werder
2021-04-03 10:28:34 +02:00
parent 66f3e2d2c7
commit be617258b2
6 changed files with 72 additions and 8 deletions

View File

@@ -59,3 +59,11 @@ impl From<serde_json::Error> for Error {
}
}
}
impl From<async_channel::RecvError> for Error {
fn from (k: async_channel::RecvError) -> Self {
Self {
msg: k.to_string(),
}
}
}