pub trait ChipsetServicesMeta {
type RegisterMmioIntercept: RegisterMmioIntercept;
type RegisterPortIoIntercept: RegisterPortIoIntercept;
}
Expand description
Compile-time type metadata bundle specified by concrete ChipsetServices
implementations.
If an implementation doesn’t support a particular service, the service’s
corresponding type should be set to Unimplemented
.
Rather than having ChipsetServices
directly encode all these type (and
make the type signatures for the supports_XXX
methods absolutely
nightmarish), we split them all out into their own trait, which can be
references via a single type parameter.
Required Associated Types§
Sourcetype RegisterMmioIntercept: RegisterMmioIntercept
type RegisterMmioIntercept: RegisterMmioIntercept
Concrete type that impls RegisterMmioIntercept
Sourcetype RegisterPortIoIntercept: RegisterPortIoIntercept
type RegisterPortIoIntercept: RegisterPortIoIntercept
Concrete type that impls RegisterPortIoIntercept