pub enum ResetConfigResult {
Changed,
Unchanged,
WrongKey,
}Variants§
Changed
The config was changed as a result of the reset to default
Unchanged
The config was at the default value
WrongKey
The key does not correspond to any application that can be reset
Implementations§
Source§impl ResetConfigResult
impl ResetConfigResult
pub fn is_changed(&self) -> bool
pub fn is_unchanged(&self) -> bool
pub fn is_error(&self) -> bool
Trait Implementations§
Source§impl Clone for ResetConfigResult
impl Clone for ResetConfigResult
Source§fn clone(&self) -> ResetConfigResult
fn clone(&self) -> ResetConfigResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResetConfigResult
Auto Trait Implementations§
impl Freeze for ResetConfigResult
impl RefUnwindSafe for ResetConfigResult
impl Send for ResetConfigResult
impl Sync for ResetConfigResult
impl Unpin for ResetConfigResult
impl UnsafeUnpin for ResetConfigResult
impl UnwindSafe for ResetConfigResult
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