mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
database: Switch to tokio channels
This commit is contained in:
parent
641a6306ec
commit
d9746c8ab4
3 changed files with 3 additions and 4 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue