pub struct SipSession<T> { /* private fields */ }
Implementations§
Source§impl<T> SipSession<T>
impl<T> SipSession<T>
pub fn new<C>(inner: &Arc<T>, callback: C) -> SipSession<T>
pub fn get_inner(&self) -> Arc<T>
pub fn setup_early_dialog<C>(&self, dialog: &Arc<SipDialog>, callback: C)
pub fn setup_confirmed_dialog<C>(&self, dialog: &Arc<SipDialog>, callback: C)
pub fn mark_session_active(&self)
pub fn schedule_refresh( &self, timeout: u32, is_refresher: bool, rt: &Arc<Runtime>, )
pub fn hang_up(&self)
Auto Trait Implementations§
impl<T> Freeze for SipSession<T>
impl<T> !RefUnwindSafe for SipSession<T>
impl<T> Send for SipSession<T>
impl<T> Sync for SipSession<T>
impl<T> Unpin for SipSession<T>
impl<T> !UnwindSafe for SipSession<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more