1use anyhow::Error; 2 3pub async fn stop(name: &str) -> Result<(), Error> { 4 firecracker_process::stop(Some(name.to_string())).await?; 5 Ok(()) 6}