pub async fn on_negotiation_needed(&self, f: OnNegotiationNeededHdlrFn) {
        let mut on_negotiation_needed_handler =
            self.internal.on_negotiation_needed_handler.lock().await;
        *on_negotiation_needed_handler = Some(f);
    }
/// on_negotiation_needed sets an event handler which is invoked when
/// a change has occurred which requires session negotiation
on_negotiation_needed sets an event handler which is invoked when
a change has occurred which requires session negotiation
on_negotiation_needed sets an event handler which is invoked when a change has occurred which requires session negotiation
pub async fn on_negotiation_needed(&self, f: OnNegotiationNeededHdlrFn) {
        let mut on_negotiation_needed_handler =
            self.internal.on_negotiation_needed_handler.lock().await;
        *on_negotiation_needed_handler = Some(f);
    }
pub async fn on_negotiation_needed ( & self , f : OnNegotiationNeededHdlrFn ) { let mut on_negotiation_needed_handler = self . internal . on_negotiation_needed_handler . lock ( ) . await ; * on_negotiation_needed_handler = Some ( f ) ; }
on_negotiation_needed sets an event handler which is invoked when
a change has occurred which requires session negotiation
on_negotiation_needed sets an event handler which is invoked when a change has occurred which requires session negotiation
&self
f
OnNegotiationNeededHdlrFn