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§
Sourcefn handle_response_message(
&self,
response: Response,
transaction_id: TransactionKey,
) -> impl Future<Output = DialogResult<()>> + Send
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§
impl ResponseHandler for DialogManager
Implementation of response handling for DialogManager