pub enum Strictness {
Consumer,
Package,
}Expand description
Who an entry is read for, which decides what a rule does when it breaks.
Variants§
Consumer
The project’s own mars.toml, or an entry about to be written to it: every rule refuses.
Package
A dependency’s manifest, read as written: its dependents’ syncs must not break on it, so a
conflicting filter warns (and FilterConfig::to_mode picks the mode it always has) and a
plugin entry’s dialect is dropped with a warning.
Trait Implementations§
Source§impl Clone for Strictness
impl Clone for Strictness
impl Copy for Strictness
Source§impl Debug for Strictness
impl Debug for Strictness
impl Eq for Strictness
Source§impl PartialEq for Strictness
impl PartialEq for Strictness
impl StructuralPartialEq for Strictness
Auto Trait Implementations§
impl Freeze for Strictness
impl RefUnwindSafe for Strictness
impl Send for Strictness
impl Sync for Strictness
impl Unpin for Strictness
impl UnsafeUnpin for Strictness
impl UnwindSafe for Strictness
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.