pub struct Rd {
pub measurements: [Measurement; 5],
pub vcpu_index: usize,
/* private fields */
}
Fields§
§measurements: [Measurement; 5]
§vcpu_index: usize
Implementations§
source§impl Rd
impl Rd
pub fn init( &mut self, vmid: u16, rtt_base: usize, rtt_num_start: usize, ipa_bits: usize, s2_starting_level: isize, rpv: [u8; 64] )
pub fn id(&self) -> usize
pub fn s2_table(&self) -> Arc<Mutex<Box<dyn IPATranslation>>>
pub fn state(&self) -> State
pub fn set_state(&mut self, state: State)
pub fn at_state(&self, compared: State) -> bool
pub fn rtt_base(&self) -> usize
pub fn rtt_num_start(&self) -> usize
pub fn ipa_bits(&self) -> usize
pub fn rec_index(&self) -> usize
pub fn s2_starting_level(&self) -> isize
pub fn inc_rec_index(&mut self)
pub fn ipa_size(&self) -> usize
pub fn par_size(&self) -> usize
pub fn addr_in_par(&self, ipa: usize) -> bool
pub fn hash_algo(&self) -> u8
pub fn set_hash_algo(&mut self, alg: u8)
pub fn personalization_value(&self) -> &[u8]
Trait Implementations§
source§impl SafetyAssured for Rd
impl SafetyAssured for Rd
source§fn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
Checks if the instance is properly initialized. Read more
source§fn verify_ownership(&self) -> bool
fn verify_ownership(&self) -> bool
Checks whether ownership rules are upheld for this instance,
with a particular focus on instances that originate from raw pointers. Read more
source§impl SafetyChecked for Rd
impl SafetyChecked for Rd
fn is_not_null(&self) -> bool
fn is_aligned(&self) -> bool
impl Content for Rd
Auto Trait Implementations§
impl Freeze for Rd
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more