pub trait TaskInfo {
    const FLAVOR: u32;
}
Expand description

Minimal trait that just pairs a structure that can be filled out by mach2::task::task_info with the “flavor” that tells it the info we actually want to retrieve

Required Associated Constants§

source

const FLAVOR: u32

One of the MACH_*_TASK integers. I assume it’s very bad if you implement this trait and provide the wrong flavor for the struct

Object Safety§

This trait is not object safe.

Implementors§