pub struct Rec<'a> { /* private fields */ }
Implementations§
source§impl Rec<'_>
impl Rec<'_>
pub fn init( &mut self, owner: usize, vcpuid: usize, flags: u64 ) -> Result<(), Error>
pub fn attest_state(&self) -> RmmRecAttestState
pub fn attest_challenge(&self) -> &[u8]
pub fn runnable(&self) -> bool
pub fn vcpuid(&self) -> usize
pub fn owner(&self) -> Result<usize, Error>
pub fn host_call_pending(&self) -> bool
pub fn set_attest_state(&mut self, state: RmmRecAttestState)
pub fn set_attest_challenge(&mut self, challenge: &[u8])
pub fn set_host_call_pending(&mut self, val: bool)
pub fn set_ripas(&mut self, start: u64, end: u64, addr: u64, state: u8)
pub fn set_vtcr(&mut self, vtcr: u64)
pub fn set_state(&mut self, state: RecState)
pub fn get_state(&self) -> RecState
pub fn inc_ripas_addr(&mut self, size: u64)
pub fn ripas_addr(&mut self) -> u64
pub fn ripas_state(&self) -> u8
pub fn ripas_end(&self) -> u64
pub fn vtcr(&self) -> u64
pub fn realmid(&self) -> Result<usize, Error>
pub fn ipa_bits(&self) -> Result<usize, Error>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Rec<'a>
impl<'a> Send for Rec<'a>
impl<'a> !Sync for Rec<'a>
impl<'a> Unpin for Rec<'a>
impl<'a> !UnwindSafe for Rec<'a>
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