pub unsafe trait ObjectQuery {
    type InfoTy;

    const TOPIC: Topic;
}
Expand description

A query to get info about a zircon object.

§Safety

TOPIC must correspond to a valid zx_object_get_info topic, and InfoTy must be a type that can be safely replaced with the byte representation of the associated zx_object_get_info buffer type.

Required Associated Types§

source

type InfoTy

The datatype returned by this query.

Required Associated Constants§

source

const TOPIC: Topic

A Topic identifying this query.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ObjectQuery for JobInfo

source§

const TOPIC: Topic = Topic::JOB

§

type InfoTy = JobInfo

source§

impl ObjectQuery for MemStats

source§

const TOPIC: Topic = Topic::KMEM_STATS

§

type InfoTy = MemStats

source§

impl ObjectQuery for MemStatsCompression

source§

const TOPIC: Topic = Topic::KMEM_STATS_COMPRESSION

§

type InfoTy = MemStatsCompression

source§

impl ObjectQuery for MemStatsExtended

source§

const TOPIC: Topic = Topic::KMEM_STATS_EXTENDED

§

type InfoTy = MemStatsExtended

source§

impl ObjectQuery for PerCpuStats

source§

const TOPIC: Topic = Topic::CPU_STATS

§

type InfoTy = PerCpuStats

source§

impl ObjectQuery for ProcessHandleStats

source§

const TOPIC: Topic = Topic::PROCESS_HANDLE_STATS

§

type InfoTy = ProcessHandleStats

source§

impl ObjectQuery for ProcessInfo

source§

const TOPIC: Topic = Topic::PROCESS

§

type InfoTy = ProcessInfo

source§

impl ObjectQuery for ProcessMapsInfo

source§

const TOPIC: Topic = Topic::PROCESS_MAPS

§

type InfoTy = ProcessMapsInfo

source§

impl ObjectQuery for ResourceInfo

source§

const TOPIC: Topic = Topic::RESOURCE

§

type InfoTy = ResourceInfo

source§

impl ObjectQuery for TaskRuntimeInfo

source§

const TOPIC: Topic = Topic::TASK_RUNTIME

§

type InfoTy = TaskRuntimeInfo

source§

impl ObjectQuery for TaskStatsInfo

source§

const TOPIC: Topic = Topic::TASK_STATS

§

type InfoTy = TaskStatsInfo

source§

impl ObjectQuery for VmarInfo

source§

const TOPIC: Topic = Topic::VMAR

§

type InfoTy = VmarInfo