vm_topology::processor

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§