backend_dispatcher/interfaces/
bss.rs

1use crate::{error::Error, types::BootParameters};
2
3pub trait BootParametersTrait {
4    fn get_bootparameters(
5        &self,
6        _auth_token: &str,
7        _nodes: &[String],
8    ) -> impl std::future::Future<Output = Result<Vec<BootParameters>, Error>> + Send;
9
10    fn update_bootparameters(
11        &self,
12        _auth_token: &str,
13        _boot_parameters: &BootParameters,
14    ) -> impl std::future::Future<Output = Result<(), Error>> + Send;
15}