Trait fuchsia_zircon::PropertyQuery
source · pub unsafe trait PropertyQuery {
type PropTy;
const PROPERTY: Property;
}
Expand description
A definition for properties about a zircon object.
§Safety
PROPERTY
must correspond to a valid property type and PropTy
must be the
corresponding value type for that property. See
https://fuchsia.dev/fuchsia-src/reference/syscalls/object_get_property 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§
Required Associated Constants§
Object Safety§
This trait is not object safe.