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§

source

type ArchVpInfo: Copy + AsRef<VpInfo>

The architecture-specific VP info type.

source

type BuilderState

The architecture-specific TopologyBuilder generic.

Required Methods§

source

fn vp_topology( topology: &ProcessorTopology<Self>, info: &Self::ArchVpInfo, ) -> VpTopologyInfo

Compute VP topology from a VP.

Object Safety§

This trait is not object safe.

Implementors§