pub enum Msg {
Show 14 variants
Language(usize),
Engine(usize),
Recheck,
InstallHere,
ShowCommand,
InstallEvent(TerminalEvent),
EngineChecked(EngineKind, EngineCheck),
Place(usize),
Picker(FilePickerMsg),
LocationChecked(PathBuf, LocationCheck),
Back,
Next,
Finish,
Step(usize),
}Expand description
What can happen on the setup screen.
Variants§
Language(usize)
A language was chosen. It is spoken from that moment on.
Engine(usize)
An engine was chosen, which is also a reason to ask it whether it works.
Recheck
Ask the chosen engine again.
InstallHere
Run the install command here, on a terminal the person watches.
ShowCommand
Show the install command instead, for the person to run themselves.
InstallEvent(TerminalEvent)
Something happened on the install terminal.
EngineChecked(EngineKind, EngineCheck)
An engine answered. The kind rides along so a late answer about an engine the person has moved on from changes nothing.
Place(usize)
The default place for the store, or one of the person’s own.
Picker(FilePickerMsg)
Something happened in the folder picker.
LocationChecked(PathBuf, LocationCheck)
A folder answered, with the folder it was about.
Back
The wizard’s Back button.
Next
The wizard’s Next button.
Finish
The wizard’s Finish button.
Step(usize)
A finished step was chosen in the step bar.
Trait Implementations§
impl StructuralPartialEq for Msg
Auto Trait Implementations§
impl Freeze for Msg
impl RefUnwindSafe for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl UnsafeUnpin for Msg
impl UnwindSafe for Msg
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more