VhostApi

Trait VhostApi 

Source
pub trait VhostApi {
    // Required methods
    fn list_vhosts<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RabbitMqVhost>, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_vhost<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
    ) -> Pin<Box<dyn Future<Output = Result<RabbitMqVhost, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_vhost<'life0, 'async_trait>(
        &'life0 self,
        request: RabbitMqVhostRequest,
    ) -> Pin<Box<dyn Future<Output = Result<(), RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_vhost<'life0, 'async_trait>(
        &'life0 self,
        request: RabbitMqVhostRequest,
    ) -> Pin<Box<dyn Future<Output = Result<(), RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_vhost<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
    ) -> Pin<Box<dyn Future<Output = Result<(), RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn start_vhost_on_node<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
        node: String,
    ) -> Pin<Box<dyn Future<Output = Result<(), RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_vhost_permissions<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RabbitMqPermission>, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list_vhost_topic_permissions<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RabbitMqTopicPermission>, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Implementors§