pub enum ConfigurationState<C> {
Unconfigured,
Configured {
version: ConfigurationVersion,
value: C,
},
}Expand description
Complete configuration lifecycle state.
Variants§
Trait Implementations§
Source§impl<C: Clone> Clone for ConfigurationState<C>
impl<C: Clone> Clone for ConfigurationState<C>
Source§fn clone(&self) -> ConfigurationState<C>
fn clone(&self) -> ConfigurationState<C>
Returns a duplicate 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<C: Debug> Debug for ConfigurationState<C>
impl<C: Debug> Debug for ConfigurationState<C>
Source§impl<C: PartialEq> PartialEq for ConfigurationState<C>
impl<C: PartialEq> PartialEq for ConfigurationState<C>
impl<C: Eq> Eq for ConfigurationState<C>
impl<C> StructuralPartialEq for ConfigurationState<C>
Auto Trait Implementations§
impl<C> Freeze for ConfigurationState<C>where
C: Freeze,
impl<C> RefUnwindSafe for ConfigurationState<C>where
C: RefUnwindSafe,
impl<C> Send for ConfigurationState<C>where
C: Send,
impl<C> Sync for ConfigurationState<C>where
C: Sync,
impl<C> Unpin for ConfigurationState<C>where
C: Unpin,
impl<C> UnsafeUnpin for ConfigurationState<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for ConfigurationState<C>where
C: UnwindSafe,
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