Have burrow gtk use new rpc
This commit is contained in:
parent
aa634d03e2
commit
90468d5518
10 changed files with 364 additions and 1621 deletions
|
|
@ -2,7 +2,7 @@ use super::*;
|
|||
|
||||
#[derive(Debug)]
|
||||
pub struct DiagGroup {
|
||||
daemon_client: Arc<Mutex<Option<DaemonClient>>>,
|
||||
daemon_client: Arc<Mutex<Option<Channel>>>,
|
||||
|
||||
system_setup: SystemSetup,
|
||||
service_installed: StatusTernary,
|
||||
|
|
@ -12,12 +12,12 @@ pub struct DiagGroup {
|
|||
}
|
||||
|
||||
pub struct DiagGroupInit {
|
||||
pub daemon_client: Arc<Mutex<Option<DaemonClient>>>,
|
||||
pub daemon_client: Arc<Mutex<Option<Channel>>>,
|
||||
pub system_setup: SystemSetup,
|
||||
}
|
||||
|
||||
impl DiagGroup {
|
||||
async fn new(daemon_client: Arc<Mutex<Option<DaemonClient>>>) -> Result<Self> {
|
||||
async fn new(daemon_client: Arc<Mutex<Option<Channel>>>) -> Result<Self> {
|
||||
let system_setup = SystemSetup::new();
|
||||
let daemon_running = daemon_client.lock().await.is_some();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue