Trait minidump_writer::mach::ThreadInfo

source ·
pub trait ThreadInfo {
    const FLAVOR: u32;
}
Expand description

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

Required Associated Constants§

source

const FLAVOR: u32

One of the THREAD_* 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.

Implementations on Foreign Types§

source§

impl ThreadInfo for proc_threadinfo

source§

const FLAVOR: u32 = 5u32

Implementors§