database: Switch to tokio channels

This commit is contained in:
Elias Projahn 2021-04-25 22:33:40 +02:00
parent 641a6306ec
commit d9746c8ab4
3 changed files with 3 additions and 4 deletions

View file

@ -14,7 +14,7 @@ pub enum Error {
SendError(#[from] std::sync::mpsc::SendError<super::thread::Action>),
#[error(transparent)]
ReceiveError(#[from] futures_channel::oneshot::Canceled),
ReceiveError(#[from] tokio::sync::oneshot::error::RecvError),
#[error("Database error: {0}")]
Other(String),