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>§kernel: Option<Target>§label: StringImplementations§
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