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§
Sourcefn handle_bye_method(
&self,
request: Request,
) -> impl Future<Output = DialogResult<()>> + Send
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§
impl ByeHandler for DialogManager
Implementation of BYE handling for DialogManager