pub trait InvitationHandler: Send + Sync {
// Provided method
fn on_invite<'life0, 'async_trait>(
&'life0 self,
_session_id: String,
_cancel_token: CancellationToken,
_dialog: ServerInviteDialog,
_routing_state: Arc<RoutingState>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}