Trait ByeHandler

Source
pub trait ByeHandler {
    // Required method
    fn handle_bye_method(
        &self,
        request: Request,
    ) -> impl Future<Output = DialogResult<()>> + Send;
}
Expand description

BYE-specific handling operations

Required Methods§

Source

fn handle_bye_method( &self, request: Request, ) -> impl Future<Output = DialogResult<()>> + Send

Handle BYE requests (dialog-terminating)

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 ByeHandler for DialogManager

Implementation of BYE handling for DialogManager