pub trait BasicMessageModule {
// Required method
fn send_message<'life0, 'async_trait>(
&'life0 self,
options: SendBasicMessageOptions,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generic cloudagent basic message module
Required Methods§
Sourcefn send_message<'life0, 'async_trait>(
&'life0 self,
options: SendBasicMessageOptions,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_message<'life0, 'async_trait>(
&'life0 self,
options: SendBasicMessageOptions,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a basic message to another agent via the connection id