Struct uhyve_interface::parameters::CmdvalParams
source · #[repr(C, packed(1))]pub struct CmdvalParams {
pub argv: PhysAddr,
pub envp: PhysAddr,
}
Expand description
Parameters for a Cmdval
hypercall, which copies the arguments end environment of the application into the VM’s memory.
Fields§
§argv: PhysAddr
Pointer to a memory section in the VM memory large enough to store the argument string.
envp: PhysAddr
Pointer to a memory section in the VM memory large enough to store the environment values.
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