#[repr(C, packed(1))]pub struct ExitParams {
pub arg: i32,
}
Expand description
Parameters for a Exit
hypercall.
Fields§
§arg: i32
The return code of the guest.
Trait Implementations§
Source§impl Clone for ExitParams
impl Clone for ExitParams
Source§fn clone(&self) -> ExitParams
fn clone(&self) -> ExitParams
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExitParams
impl Debug for ExitParams
impl Copy for ExitParams
Auto Trait Implementations§
impl Freeze for ExitParams
impl RefUnwindSafe for ExitParams
impl Send for ExitParams
impl Sync for ExitParams
impl Unpin for ExitParams
impl UnwindSafe for ExitParams
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