pub enum AppEvent {
Startup,
Input(UserIntent),
CandidatesLoaded(Vec<Candidate>),
PreviewReady {
generation: u64,
key: PreviewKey,
result: Result<PreviewContent, String>,
},
ActionCompleted(Result<(), String>),
Quit,
}Variants§
Startup
Input(UserIntent)
CandidatesLoaded(Vec<Candidate>)
PreviewReady
ActionCompleted(Result<(), String>)
Quit
Trait Implementations§
impl StructuralPartialEq for AppEvent
Auto Trait Implementations§
impl Freeze for AppEvent
impl RefUnwindSafe for AppEvent
impl Send for AppEvent
impl Sync for AppEvent
impl Unpin for AppEvent
impl UnsafeUnpin for AppEvent
impl UnwindSafe for AppEvent
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