pub enum Msg {
Show 22 variants
Checked(Health),
Profiles(Vec<ProfileIdentity>),
Language(String),
Theme(String),
Icons(IconMode),
ReduceMotion(bool),
UpdateNotice(bool),
Engine(EngineKind),
Editor(Editor),
Sound(Sound),
AskFirst(bool),
FreezeIdle(bool),
Profile(usize),
AskRefresh,
AskSignOut,
Request(Request),
ReadRepairs,
ReadLeftBehind,
Stored(Result<(), String>),
OnClose(OnClose),
BackupEvery(BackupEvery),
ServiceDone {
installing: bool,
installed: bool,
result: Result<(), String>,
},
}Expand description
What can happen on the settings screen.
Variants§
Checked(Health)
The engine check answered.
Profiles(Vec<ProfileIdentity>)
The profiles and their logins were read.
Language(String)
A language was chosen.
Theme(String)
A theme was chosen.
Icons(IconMode)
An icon mode was chosen.
ReduceMotion(bool)
The reduce-motion switch was moved.
UpdateNotice(bool)
The switch of the family’s update notice was moved.
Engine(EngineKind)
An engine was chosen.
Editor(Editor)
An editor was chosen.
Sound(Sound)
What opening a sound does was chosen.
AskFirst(bool)
The switch that asks before the first message between two tabs was moved.
FreezeIdle(bool)
The switch that freezes a profile’s container in the background was moved.
Profile(usize)
A profile was chosen.
AskRefresh
Refreshing the chosen profile’s login was asked for; the question follows.
AskSignOut
Signing the chosen profile out was asked for; the question follows.
Request(Request)
Something the application does, past every question it needed.
ReadRepairs
The repair report was read and can go.
ReadLeftBehind
The report of the old settings files that were not moved was read and can go.
Stored(Result<(), String>)
The application stored the last change, or could not.
OnClose(OnClose)
What happens to the containers once no QCode is open was chosen.
BackupEvery(BackupEvery)
How often the open workspaces are backed up was chosen.
ServiceDone
Installing or removing the background service finished: which of the two it was, whether the service’s files are there now, and the words of what failed.
Trait Implementations§
impl Eq for Msg
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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