Trait ResponseHandler

Source
pub trait ResponseHandler {
    // Required method
    fn handle_response_message(
        &self,
        response: Response,
        transaction_id: TransactionKey,
    ) -> impl Future<Output = DialogResult<()>> + Send;
}
Expand description

Response-specific handling operations

Required Methods§

Source

fn handle_response_message( &self, response: Response, transaction_id: TransactionKey, ) -> impl Future<Output = DialogResult<()>> + Send

Handle responses to client transactions

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ResponseHandler for DialogManager

Implementation of response handling for DialogManager