pub fn start(mut self, start: SnpStart) -> Result<Launcher<Started, U, V>> {
        let mut launch_start = SnpLaunchStart::new(&start);
        let mut cmd = Command::from_mut(&mut self.sev, &mut launch_start);

        SNP_LAUNCH_START
            .ioctl(&mut self.vm_fd, &mut cmd)
            .map_err(|e| cmd.encapsulate(e))?;

        let launcher = Launcher {
            vm_fd: self.vm_fd,
            sev: self.sev,
            state: PhantomData::default(),
        };

        Ok(launcher)
    }
/// Initialize the flow to launch a guest.
Initialize the flow to launch a guest.
Initialize the flow to launch a guest .
pub fn start(mut self, start: SnpStart) -> Result<Launcher<Started, U, V>> {
        let mut launch_start = SnpLaunchStart::new(&start);
        let mut cmd = Command::from_mut(&mut self.sev, &mut launch_start);
        SNP_LAUNCH_START
            .ioctl(&mut self.vm_fd, &mut cmd)
            .map_err(|e| cmd.encapsulate(e))?;
        let launcher = Launcher {
            vm_fd: self.vm_fd,
            sev: self.sev,
            state: PhantomData::default(),
        };
        Ok(launcher)
    }
pub fn start ( mut self , start : SnpStart ) -> Result < Launcher < Started , U , V > > { let mut launch_start = SnpLaunchStart :: new ( & start ) ; let mut cmd = Command :: from_mut ( & mut self . sev , & mut launch_start ) ; SNP_LAUNCH_START . ioctl ( & mut self . vm_fd , & mut cmd ) . map_err ( | e | cmd . encapsulate ( e ) ) ? ; let launcher = Launcher { vm_fd : self . vm_fd , sev : self . sev , state : PhantomData :: default ( ) , } ; Ok ( launcher ) }
Initialize the flow to launch a guest.
Initialize the flow to launch a guest .
mut self
start
SnpStart