Implement unmount button
This commit is contained in:
parent
8c3af501ca
commit
37a6f37f7f
5 changed files with 77 additions and 29 deletions
|
|
@ -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>;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue