fix
This commit is contained in:
parent
39bd5e7935
commit
9b4b8763be
10
src/tui/lib/external/musicbrainz/daemon/mod.rs
vendored
10
src/tui/lib/external/musicbrainz/daemon/mod.rs
vendored
@ -9,11 +9,6 @@ use crate::tui::{
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
enum JobError {
|
|
||||||
JobQueueEmpty,
|
|
||||||
EventChannelDisconnected,
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct MusicBrainzDaemon {
|
pub struct MusicBrainzDaemon {
|
||||||
musicbrainz: Box<dyn IMusicBrainz>,
|
musicbrainz: Box<dyn IMusicBrainz>,
|
||||||
job_receiver: mpsc::Receiver<Job>,
|
job_receiver: mpsc::Receiver<Job>,
|
||||||
@ -66,6 +61,11 @@ impl JobInstance {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum JobError {
|
||||||
|
JobQueueEmpty,
|
||||||
|
EventChannelDisconnected,
|
||||||
|
}
|
||||||
|
|
||||||
pub struct JobChannel {
|
pub struct JobChannel {
|
||||||
sender: mpsc::Sender<Job>,
|
sender: mpsc::Sender<Job>,
|
||||||
receiver: mpsc::Receiver<Job>,
|
receiver: mpsc::Receiver<Job>,
|
||||||
|
Loading…
Reference in New Issue
Block a user