Trait x86_64::msr::MsrHandling

source ·
pub trait MsrHandling {
    fn read(&self) -> Result<u64>;
    fn write(&mut self, data: u64) -> Result<()>;
}
Expand description

Wrap for general RDMSR/WRMSR handling.

Each specific handler needs to implement this trait.

Required Methods§

Implementors§