#[repr(C, packed(1))]pub struct CmdvalParams {
pub argv: GuestPhysAddr,
pub envp: GuestPhysAddr,
}
Expand description
Parameters for a Cmdval
hypercall, which copies the arguments end environment of the application into the VM’s memory.
Fields§
§argv: GuestPhysAddr
Pointer to a memory section in the VM memory which holds addresses for the destinations of the individual arguments
envp: GuestPhysAddr
Pointer to a memory section in the VM memory which holds addresses for the destinations of the individual environment variables
Trait Implementations§
Source§impl Clone for CmdvalParams
impl Clone for CmdvalParams
Source§fn clone(&self) -> CmdvalParams
fn clone(&self) -> CmdvalParams
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 CmdvalParams
impl Debug for CmdvalParams
impl Copy for CmdvalParams
Auto Trait Implementations§
impl Freeze for CmdvalParams
impl RefUnwindSafe for CmdvalParams
impl Send for CmdvalParams
impl Sync for CmdvalParams
impl Unpin for CmdvalParams
impl UnwindSafe for CmdvalParams
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