wasmcloud_runtime::component

Trait MessagingClient0_3

source
pub trait MessagingClient0_3 {
    // Required methods
    fn disconnect<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<Result<(), Error>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn as_any(&self) -> &dyn Any;
}
Expand description

A connection to a message-exchange service (e.g., buffer, broker, etc.).

Required Methods§

source

fn disconnect<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<Result<(), Error>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Disconnect from a message-exchange service (e.g., buffer, broker, etc.).

source

fn as_any(&self) -> &dyn Any

Return Self as Any

Implementors§