(&self)
| 488 | |
| 489 | #[must_use] |
| 490 | pub fn capabilities(&self) -> GetCapabilitiesResponse { |
| 491 | GetCapabilitiesResponse { |
| 492 | driver_name: DRIVER_NAME.to_string(), |
| 493 | driver_version: openshell_core::VERSION.to_string(), |
| 494 | default_image: self.config.default_image.clone(), |
| 495 | } |
| 496 | } |
| 497 | |
| 498 | // `tonic::Status` is large but is the standard error type across the |
| 499 | // gRPC API surface; boxing here would diverge from every other handler. |