mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
import: Switch to tokio channels
This commit is contained in:
parent
2922c17a86
commit
e43486367b
3 changed files with 4 additions and 4 deletions
|
|
@ -62,8 +62,8 @@ impl Error {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<futures_channel::oneshot::Canceled> for Error {
|
||||
fn from(err: futures_channel::oneshot::Canceled) -> Self {
|
||||
impl From<tokio::sync::oneshot::error::RecvError> for Error {
|
||||
fn from(err: tokio::sync::oneshot::error::RecvError) -> Self {
|
||||
Self::us(err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue