pub unsafe trait PropertyQuery {
    type PropTy;

    const PROPERTY: Property;
Expand description

A definition for properties about a zircon object.


PROPERTY must correspond to a valid property type and PropTy must be the corresponding value type for that property. See for a list of available properties and their corresponding value types.

It must be valid to treat PropTy as its corresponding property type and writing the property type to a PropTy must completely initialize it. That is, PropTy must be “transparent” over the property type.

Required Associated Types§


type PropTy

The data type of this property

Required Associated Constants§


const PROPERTY: Property

The raw Property value

Object Safety§

This trait is not object safe.