pub trait UpdateHandler {
// Required method
fn handle_update_method(
&self,
request: Request,
) -> impl Future<Output = DialogResult<()>> + Send;
}
Expand description
UPDATE-specific handling operations
Required Methods§
Sourcefn handle_update_method(
&self,
request: Request,
) -> impl Future<Output = DialogResult<()>> + Send
fn handle_update_method( &self, request: Request, ) -> impl Future<Output = DialogResult<()>> + Send
Handle UPDATE requests (session modification)
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 UpdateHandler for DialogManager
Implementation of UPDATE handling for DialogManager