Enum initiative_core::app::Event
source · pub enum Event {
Export(BackupData),
Import,
}
Expand description
An event that can occur while the app is running that may require special handling by the UI.
Variants§
Export(BackupData)
The user typed the export
command and the journal backup is ready to download.
Import
The user typed the import
command and should be prompted to select a file to import.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more