(
&self,
request: Request<CreateSandboxRequest>,
)
| 1450 | } |
| 1451 | |
| 1452 | async fn create_sandbox( |
| 1453 | &self, |
| 1454 | request: Request<CreateSandboxRequest>, |
| 1455 | ) -> Result<Response<CreateSandboxResponse>, Status> { |
| 1456 | let sandbox = request |
| 1457 | .into_inner() |
| 1458 | .sandbox |
| 1459 | .ok_or_else(|| Status::invalid_argument("sandbox is required"))?; |
| 1460 | self.create_sandbox_inner(&sandbox).await?; |
| 1461 | Ok(Response::new(CreateSandboxResponse {})) |
| 1462 | } |
| 1463 | |
| 1464 | async fn stop_sandbox( |
| 1465 | &self, |
nothing calls this directly
no test coverage detected