pub enum ScEvSettingPreviousConnections {
RenamePreviousConnection(String, String),
DeletePreviousConnection(String),
SavePreviousConnections(bool),
SavePreviousConnectionsResult(PersistentStorageOutput, bool),
ExitToSettingsScreen,
ConfirmExitToSettingsScreen,
}Variants§
RenamePreviousConnection(String, String)
User renames a connection, edits are not saved to disk
DeletePreviousConnection(String)
User deletes a connection, edits are not saved to disk
SavePreviousConnections(bool)
Called when user would like to commit changes to disk, AndExit should be true if the user has chosen to save on the dialog when hitting exit
SavePreviousConnectionsResult(PersistentStorageOutput, bool)
ExitToSettingsScreen
ConfirmExitToSettingsScreen
Trait Implementations§
Source§impl Clone for ScEvSettingPreviousConnections
impl Clone for ScEvSettingPreviousConnections
Source§fn clone(&self) -> ScEvSettingPreviousConnections
fn clone(&self) -> ScEvSettingPreviousConnections
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ScEvSettingPreviousConnections
impl<'de> Deserialize<'de> for ScEvSettingPreviousConnections
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScEvSettingPreviousConnections
impl PartialEq for ScEvSettingPreviousConnections
Source§fn eq(&self, other: &ScEvSettingPreviousConnections) -> bool
fn eq(&self, other: &ScEvSettingPreviousConnections) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScEvSettingPreviousConnections
Auto Trait Implementations§
impl Freeze for ScEvSettingPreviousConnections
impl RefUnwindSafe for ScEvSettingPreviousConnections
impl Send for ScEvSettingPreviousConnections
impl Sync for ScEvSettingPreviousConnections
impl Unpin for ScEvSettingPreviousConnections
impl UnwindSafe for ScEvSettingPreviousConnections
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