Background task runner that replaces tokio::spawn

This commit is contained in:
Alex Auvolat
2020-04-11 18:51:11 +02:00
parent 4a2624b76a
commit 53289b69e5
8 changed files with 291 additions and 62 deletions
+6
View File
@@ -63,3 +63,9 @@ impl From<sled::TransactionError<Error>> for Error {
}
}
}
impl<T> From<tokio::sync::watch::error::SendError<T>> for Error {
fn from(_e: tokio::sync::watch::error::SendError<T>) -> Error {
Error::Message(format!("Watch send error"))
}
}