Trait NodeApi

Source
pub trait NodeApi {
    // Required methods
    fn list_nodes<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RabbitMqNode>, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_node<'life0, 'async_trait>(
        &'life0 self,
        node: String,
    ) -> Pin<Box<dyn Future<Output = Result<RabbitMqNode, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_node_memory<'life0, 'async_trait>(
        &'life0 self,
        node: String,
    ) -> Pin<Box<dyn Future<Output = Result<RabbitMqNodeMemory, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn list_nodes<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<RabbitMqNode>, RabbitMqClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_node<'life0, 'async_trait>( &'life0 self, node: String, ) -> Pin<Box<dyn Future<Output = Result<RabbitMqNode, RabbitMqClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_node_memory<'life0, 'async_trait>( &'life0 self, node: String, ) -> Pin<Box<dyn Future<Output = Result<RabbitMqNodeMemory, RabbitMqClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§