Skip to main content

RunFacts

Struct RunFacts 

Source
pub struct RunFacts<'a> {
    pub units: &'a [(String, String)],
    pub unevaluated: &'a BTreeSet<String>,
}
Expand description

What the CALLER knows about the run that a list of rows cannot say.

Fields§

§units: &'a [(String, String)]

EVERY unit of the run (not just the violating ones), as (name a policy matches and a row carries, identity). Two units sharing a name with different identities are (hash, fn) twins (§3.1 ⟨0.40⟩), and an entry on that name accepts NEITHER. The identity is only ever compared for equality.

§unevaluated: &'a BTreeSet<String>

crate::policy::rule_key of every rule line this route could NOT evaluate (§3.1 unevaluated): forbid and only on gate --report, an unanswerable filter, a withheld pair. An entry on such a rule is unjudged — nothing can be said either way — and is never stale.

Auto Trait Implementations§

§

impl<'a> Forget for RunFacts<'a>

§

impl<'a> Freeze for RunFacts<'a>

§

impl<'a> RefUnwindSafe for RunFacts<'a>

§

impl<'a> Send for RunFacts<'a>

§

impl<'a> Sync for RunFacts<'a>

§

impl<'a> Unpin for RunFacts<'a>

§

impl<'a> UnsafeUnpin for RunFacts<'a>

§

impl<'a> UnwindSafe for RunFacts<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.