pub enum CompositionErrorKind {
MissingProvider,
AmbiguousProviders,
ProviderSelectionUnavailable,
UndeclaredRequirement,
}Expand description
The structured category of a capability composition failure.
Variants§
MissingProvider
No module provides a required capability.
AmbiguousProviders
More than one module provides the capability and none was selected.
The selected module is not among the available provisions.
UndeclaredRequirement
The frozen process has no active requirement for this consumer and capability.
Trait Implementations§
Source§impl Clone for CompositionErrorKind
impl Clone for CompositionErrorKind
impl Copy for CompositionErrorKind
Source§impl Debug for CompositionErrorKind
impl Debug for CompositionErrorKind
impl Eq for CompositionErrorKind
Source§impl PartialEq for CompositionErrorKind
impl PartialEq for CompositionErrorKind
impl StructuralPartialEq for CompositionErrorKind
Auto Trait Implementations§
impl Freeze for CompositionErrorKind
impl RefUnwindSafe for CompositionErrorKind
impl Send for CompositionErrorKind
impl Sync for CompositionErrorKind
impl Unpin for CompositionErrorKind
impl UnsafeUnpin for CompositionErrorKind
impl UnwindSafe for CompositionErrorKind
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