Implement unmount button

This commit is contained in:
Jeremy Soller 2024-04-24 13:59:55 -06:00
parent 8c3af501ca
commit 37a6f37f7f
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
5 changed files with 77 additions and 29 deletions

View file

@ -51,6 +51,7 @@ pub type MounterItems = Vec<MounterItem>;
pub trait Mounter {
//TODO: send result
fn mount(&self, item: MounterItem) -> Command<()>;
fn unmount(&self, item: MounterItem) -> Command<()>;
fn subscription(&self) -> subscription::Subscription<MounterItems>;
}