pub enum DependencyPolicy {
Error,
Include,
Drop,
}Expand description
Policy for unresolved correlation references.
Variants§
Error
Fail resolution.
Include
Pull the referenced rule in.
Drop
Drop the correlation, with a warning.
Implementations§
Trait Implementations§
Source§impl Clone for DependencyPolicy
impl Clone for DependencyPolicy
impl Copy for DependencyPolicy
Source§impl Debug for DependencyPolicy
impl Debug for DependencyPolicy
impl Eq for DependencyPolicy
Source§impl PartialEq for DependencyPolicy
impl PartialEq for DependencyPolicy
impl StructuralPartialEq for DependencyPolicy
Auto Trait Implementations§
impl Forget for DependencyPolicy
impl Freeze for DependencyPolicy
impl Move for DependencyPolicy
impl RefUnwindSafe for DependencyPolicy
impl Send for DependencyPolicy
impl Sync for DependencyPolicy
impl Unpin for DependencyPolicy
impl UnsafeUnpin for DependencyPolicy
impl UnwindSafe for DependencyPolicy
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.