pub struct WhyInputs<'a> {
pub base: &'a str,
pub key: &'a str,
pub slices: Option<&'a SliceSet>,
pub roster: Option<&'a BTreeMap<String, Vec<String>>>,
pub entities: Option<Option<&'a DeclaredEntities>>,
pub admin_answered: Option<usize>,
pub storages: Option<&'a [StorageInfo]>,
pub stored: Option<&'a StoredLookup>,
pub wire: Option<&'a WireWatch>,
}Expand description
Everything the ladder judges, each ingredient honest about whether it was
obtained. None always means not fetched — the rung it feeds answers
NotAsked, never NotEstablished.
Fields§
§base: &'a str§key: &'a strThe key or selector as asked (params tolerated; stripped for algebra).
slices: Option<&'a SliceSet>None = no registry was loaded (distinguishable from a loaded set
that covers nothing — the crate::model::facts rule).
roster: Option<&'a BTreeMap<String, Vec<String>>>None = the liveliness sweep was not made or failed.
entities: Option<Option<&'a DeclaredEntities>>Outer None = the sweep was not made or failed; Some(None) = made,
and no admin space answered (adminspace.enabled defaults off) —
unknown, never zero (RFC 09 §5.1 O4).
admin_answered: Option<usize>topology().answered — how many admin root docs replied. None =
the sweep was not made or failed.
storages: Option<&'a [StorageInfo]>None = the storage sweep was not made (or the admin space that
would answer it did not).
stored: Option<&'a StoredLookup>None = the bounded value GET did not run.
wire: Option<&'a WireWatch>None = no listen window was requested (the default; O4 says so).
Auto Trait Implementations§
impl<'a> Freeze for WhyInputs<'a>
impl<'a> RefUnwindSafe for WhyInputs<'a>
impl<'a> Send for WhyInputs<'a>
impl<'a> Sync for WhyInputs<'a>
impl<'a> Unpin for WhyInputs<'a>
impl<'a> UnsafeUnpin for WhyInputs<'a>
impl<'a> UnwindSafe for WhyInputs<'a>
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more