Enum settings_storage::UpdateState
source · pub enum UpdateState {
Unchanged,
Updated,
}
Expand description
Enum for describing whether writing affected persistent value.
Variants§
Trait Implementations§
source§impl Clone for UpdateState
impl Clone for UpdateState
source§fn clone(&self) -> UpdateState
fn clone(&self) -> UpdateState
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 Debug for UpdateState
impl Debug for UpdateState
source§impl PartialEq for UpdateState
impl PartialEq for UpdateState
source§fn eq(&self, other: &UpdateState) -> bool
fn eq(&self, other: &UpdateState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UpdateState
impl StructuralPartialEq for UpdateState
Auto Trait Implementations§
impl Freeze for UpdateState
impl RefUnwindSafe for UpdateState
impl Send for UpdateState
impl Sync for UpdateState
impl Unpin for UpdateState
impl UnwindSafe for UpdateState
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