Struct islet_rmm::rmi::realm::Rd

source ·
pub struct Rd {
    pub measurements: [Measurement; 5],
    pub vcpus: Vec<Arc<Mutex<VCPU>>>,
    /* private fields */
}

Fields§

§measurements: [Measurement; 5]§vcpus: Vec<Arc<Mutex<VCPU>>>

Implementations§

source§

impl Rd

source

pub fn init( &mut self, vmid: u16, rtt_base: usize, ipa_bits: usize, s2_starting_level: isize, s2_table: Arc<Mutex<Box<dyn IPATranslation>>> )

source

pub fn id(&self) -> usize

source

pub fn s2_table(&self) -> &Arc<Mutex<Box<dyn IPATranslation>>>

source

pub fn state(&self) -> State

source

pub fn set_state(&mut self, state: State)

source

pub fn at_state(&self, compared: State) -> bool

source

pub fn rtt_base(&self) -> usize

source

pub fn ipa_bits(&self) -> usize

source

pub fn rec_index(&self) -> usize

source

pub fn s2_starting_level(&self) -> isize

source

pub fn inc_rec_index(&mut self)

source

pub fn addr_in_par(&self, addr: usize) -> bool

source

pub fn hash_algo(&self) -> u8

source

pub fn set_hash_algo(&mut self, alg: u8)

Trait Implementations§

source§

impl Debug for Rd

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Content for Rd

Auto Trait Implementations§

§

impl !RefUnwindSafe for Rd

§

impl Send for Rd

§

impl Sync for Rd

§

impl Unpin for Rd

§

impl !UnwindSafe for Rd

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.