pub struct AvailableKernels {
pub kernels: BTreeSet<KernelId>,
pub caps: BTreeSet<String>,
}Expand description
2026-09-28: The kernels and capabilities a target provides (the boot probe’s answer).
Fields§
§kernels: BTreeSet<KernelId>2026-09-28: Present entry points.
caps: BTreeSet<String>2026-09-28: Present capability bits (KernelCaps).
Implementations§
Source§impl AvailableKernels
impl AvailableKernels
Sourcepub fn all_named_by(rules: &[Rule]) -> Self
pub fn all_named_by(rules: &[Rule]) -> Self
2026-09-28: Every kernel and capability any of rules names: the offline view used
when no target is probed (met circuit show).
Trait Implementations§
Source§impl Clone for AvailableKernels
impl Clone for AvailableKernels
Source§fn clone(&self) -> AvailableKernels
fn clone(&self) -> AvailableKernels
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AvailableKernels
impl Debug for AvailableKernels
Source§impl Default for AvailableKernels
impl Default for AvailableKernels
Source§fn default() -> AvailableKernels
fn default() -> AvailableKernels
Returns the “default value” for a type. Read more
Source§impl PartialEq for AvailableKernels
impl PartialEq for AvailableKernels
impl Eq for AvailableKernels
impl StructuralPartialEq for AvailableKernels
Auto Trait Implementations§
impl Freeze for AvailableKernels
impl RefUnwindSafe for AvailableKernels
impl Send for AvailableKernels
impl Sync for AvailableKernels
impl Unpin for AvailableKernels
impl UnwindSafe for AvailableKernels
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.