Trait BindingApi

Source
pub trait BindingApi {
    // Required methods
    fn list_bindings<'life0, 'async_trait>(
        &'life0 self,
        vhost: Option<String>,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RabbitMqBinding>, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn filter_bindings<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
        source: String,
        destination: String,
        destination_type: RabbitMqBindingDestinationType,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<RabbitMqBinding>, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_binding<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
        source: String,
        destination: String,
        destination_type: RabbitMqBindingDestinationType,
        properties_key: String,
    ) -> Pin<Box<dyn Future<Output = Result<RabbitMqBinding, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_binding<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
        source: String,
        destination: String,
        destination_type: RabbitMqBindingDestinationType,
        request: RabbitMqBindingRequest,
    ) -> Pin<Box<dyn Future<Output = Result<String, RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_binding<'life0, 'async_trait>(
        &'life0 self,
        vhost: String,
        source: String,
        destination: String,
        destination_type: RabbitMqBindingDestinationType,
        properties_key: String,
    ) -> Pin<Box<dyn Future<Output = Result<(), RabbitMqClientError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

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

Source

fn filter_bindings<'life0, 'async_trait>( &'life0 self, vhost: String, source: String, destination: String, destination_type: RabbitMqBindingDestinationType, ) -> Pin<Box<dyn Future<Output = Result<Vec<RabbitMqBinding>, RabbitMqClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_binding<'life0, 'async_trait>( &'life0 self, vhost: String, source: String, destination: String, destination_type: RabbitMqBindingDestinationType, properties_key: String, ) -> Pin<Box<dyn Future<Output = Result<RabbitMqBinding, RabbitMqClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn create_binding<'life0, 'async_trait>( &'life0 self, vhost: String, source: String, destination: String, destination_type: RabbitMqBindingDestinationType, request: RabbitMqBindingRequest, ) -> Pin<Box<dyn Future<Output = Result<String, RabbitMqClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn delete_binding<'life0, 'async_trait>( &'life0 self, vhost: String, source: String, destination: String, destination_type: RabbitMqBindingDestinationType, properties_key: String, ) -> Pin<Box<dyn Future<Output = Result<(), RabbitMqClientError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§