pub struct HostFactsKept {
pub examined: usize,
pub kept: usize,
}Expand description
How many allowlisted binaries keep_host_facts examined, and how many of those the cache
holds an entry for afterwards.
Fields§
§examined: usizeEvery resolved shell.allow binary that no staged grant names and that lies under no
writable root, as InterpreterRuntimes::host_facts counts them.
kept: usizeThe examined binaries whose entry cache holds when the call returns: one that still
matched, or one just worked out and stored. A binary whose query failed has none.
Trait Implementations§
Source§impl Clone for HostFactsKept
impl Clone for HostFactsKept
impl Copy for HostFactsKept
Source§impl Debug for HostFactsKept
impl Debug for HostFactsKept
Source§impl Default for HostFactsKept
impl Default for HostFactsKept
impl Eq for HostFactsKept
Source§impl PartialEq for HostFactsKept
impl PartialEq for HostFactsKept
impl StructuralPartialEq for HostFactsKept
Auto Trait Implementations§
impl Forget for HostFactsKept
impl Freeze for HostFactsKept
impl Move for HostFactsKept
impl RefUnwindSafe for HostFactsKept
impl Send for HostFactsKept
impl Sync for HostFactsKept
impl Unpin for HostFactsKept
impl UnsafeUnpin for HostFactsKept
impl UnwindSafe for HostFactsKept
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
Converts
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> ⓘ
Converts
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 moreSource§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
Source§type NoneType = T
type NoneType = T
The type of the none-equivalent value that
NoneValue::null_value produces.Source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.