pub struct ScanTarget {
pub glibc: Option<GlibcVersion>,
pub kernel: Option<Target>,
pub label: String,
}Expand description
What to check against. None skips that side’s checks (host glibc or
host kernel), and the report says so.
Fields§
§glibc: Option<GlibcVersion>The glibc floor: no GLIBC_* version newer than this may be required.
kernel: Option<Target>The kernel to check syscalls and madvise advice against, with a
preset’s backports.
label: StringHow the target is named in the report, e.g. a preset’s description.
Implementations§
Source§impl ScanTarget
impl ScanTarget
Sourcepub fn from_selection(sel: &Selection) -> Self
pub fn from_selection(sel: &Selection) -> Self
The floors of a linux_targets selection; a preset’s kernel includes
its sourced backports.
Auto Trait Implementations§
impl Freeze for ScanTarget
impl RefUnwindSafe for ScanTarget
impl Send for ScanTarget
impl Sync for ScanTarget
impl Unpin for ScanTarget
impl UnsafeUnpin for ScanTarget
impl UnwindSafe for ScanTarget
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