pub enum ProviderKind {
Service,
Repository,
Provider,
}Expand description
Categorizes the role a provider plays in an application.
Variants§
Service
A provider implementing application service behavior.
Repository
A provider implementing persistence access behavior.
Provider
A general-purpose provider.
Trait Implementations§
Source§impl Clone for ProviderKind
impl Clone for ProviderKind
impl Copy for ProviderKind
Source§impl Debug for ProviderKind
impl Debug for ProviderKind
impl Eq for ProviderKind
Source§impl From<ProviderKind> for ProviderOrigin
impl From<ProviderKind> for ProviderOrigin
Source§fn from(kind: ProviderKind) -> Self
fn from(kind: ProviderKind) -> Self
Converts to this type from the input type.
Source§impl Ord for ProviderKind
impl Ord for ProviderKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ProviderKind
impl PartialEq for ProviderKind
Source§impl PartialOrd for ProviderKind
impl PartialOrd for ProviderKind
impl StructuralPartialEq for ProviderKind
Auto Trait Implementations§
impl Forget for ProviderKind
impl Freeze for ProviderKind
impl Move for ProviderKind
impl RefUnwindSafe for ProviderKind
impl Send for ProviderKind
impl Sync for ProviderKind
impl Unpin for ProviderKind
impl UnsafeUnpin for ProviderKind
impl UnwindSafe for ProviderKind
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.