pub struct Target {
pub label: String,
pub kernel: KernelVersion,
pub allow: Vec<&'static str>,
}Expand description
What a profile simulates.
Fields§
§label: StringA name for messages and the profile, such as Linux 4.12.
kernel: KernelVersionThe mainline kernel release whose syscalls are present.
allow: Vec<&'static str>Syscalls present although newer than kernel (vendor backports).
Implementations§
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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