pub enum NativeStatus {
Known,
Absent,
Unknown(&'static str),
Unscopable,
}Expand description
Whether Mars can name a rule’s tools on a harness.
Variants§
Known
Mars knows the native name(s). A stricter rule on the same native name can leave this rule no surviving name.
Absent
The harness has no such tool, so there is nothing to allow or deny.
Unknown(&'static str)
Mars cannot name it on this harness, for the reason given: the harness has no switch
for it, Mars has no row for it, or the name is not one Mars recognizes (a typo). The
launch bundle reports the reason in note and nowhere else.
Unscopable
The rule has a pattern and the host’s tools take no scope, so it cannot be applied as written. Only a host that does not scope patterns reports it.
Implementations§
Trait Implementations§
Source§impl Clone for NativeStatus
impl Clone for NativeStatus
impl Copy for NativeStatus
Source§impl Debug for NativeStatus
impl Debug for NativeStatus
impl Eq for NativeStatus
Source§impl PartialEq for NativeStatus
impl PartialEq for NativeStatus
impl StructuralPartialEq for NativeStatus
Auto Trait Implementations§
impl Forget for NativeStatus
impl Freeze for NativeStatus
impl Move for NativeStatus
impl RefUnwindSafe for NativeStatus
impl Send for NativeStatus
impl Sync for NativeStatus
impl Unpin for NativeStatus
impl UnsafeUnpin for NativeStatus
impl UnwindSafe for NativeStatus
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.