Trait vm_topology::processor::ArchTopology
source · pub trait ArchTopology: Sized {
type ArchVpInfo: Copy + AsRef<VpInfo>;
type BuilderState;
// Required method
fn vp_topology(
topology: &ProcessorTopology<Self>,
info: &Self::ArchVpInfo,
) -> VpTopologyInfo;
}
Expand description
Architecture-specific topology types.
Required Associated Types§
sourcetype ArchVpInfo: Copy + AsRef<VpInfo>
type ArchVpInfo: Copy + AsRef<VpInfo>
The architecture-specific VP info type.
sourcetype BuilderState
type BuilderState
The architecture-specific TopologyBuilder
generic.
Required Methods§
sourcefn vp_topology(
topology: &ProcessorTopology<Self>,
info: &Self::ArchVpInfo,
) -> VpTopologyInfo
fn vp_topology( topology: &ProcessorTopology<Self>, info: &Self::ArchVpInfo, ) -> VpTopologyInfo
Compute VP topology from a VP.
Object Safety§
This trait is not object safe.