Trait BootParametersTrait

Source
pub trait BootParametersTrait {
    // Required methods
    fn get_bootparameters(
        &self,
        _auth_token: &str,
        _nodes: &[String],
    ) -> impl Future<Output = Result<Vec<BootParameters>, Error>> + Send;
    fn update_bootparameters(
        &self,
        _auth_token: &str,
        _boot_parameters: &BootParameters,
    ) -> impl Future<Output = Result<(), Error>> + Send;
}

Required Methods§

Source

fn get_bootparameters( &self, _auth_token: &str, _nodes: &[String], ) -> impl Future<Output = Result<Vec<BootParameters>, Error>> + Send

Source

fn update_bootparameters( &self, _auth_token: &str, _boot_parameters: &BootParameters, ) -> impl Future<Output = Result<(), Error>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§