pub enum ProviderState {
Provided,
Preconstructed,
AutoConfigured,
Planned,
}Expand description
Describes how a provider value is satisfied for a specific build.
Variants§
Provided
A value supplied directly by the application.
Preconstructed
A value manually constructed before automatic construction.
AutoConfigured
A value selected from an official auto-configuration integration.
Planned
A statically declared provider awaiting construction.
Trait Implementations§
Source§impl Clone for ProviderState
impl Clone for ProviderState
impl Copy for ProviderState
Source§impl Debug for ProviderState
impl Debug for ProviderState
impl Eq for ProviderState
Source§impl PartialEq for ProviderState
impl PartialEq for ProviderState
impl StructuralPartialEq for ProviderState
Auto Trait Implementations§
impl Forget for ProviderState
impl Freeze for ProviderState
impl Move for ProviderState
impl RefUnwindSafe for ProviderState
impl Send for ProviderState
impl Sync for ProviderState
impl Unpin for ProviderState
impl UnsafeUnpin for ProviderState
impl UnwindSafe for ProviderState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.