pub struct SessionHandle<'session>(/* private fields */);Trait Implementations§
Source§impl<'session> Debug for SessionHandle<'session>
impl<'session> Debug for SessionHandle<'session>
Source§impl<'a> FSNewType for SessionHandle<'a>
impl<'a> FSNewType for SessionHandle<'a>
type Inner = *mut switch_core_session
fn from_ptr(ptr: *mut switch_core_session_t) -> Self
fn as_ptr(&self) -> *mut switch_core_session_t
Source§impl<'a> SessionExt for SessionHandle<'a>
impl<'a> SessionExt for SessionHandle<'a>
Source§fn get_uuid(&self) -> &CStr
fn get_uuid(&self) -> &CStr
Retrieve the unique identifier from a session. See:
switch_core_session_get_uuid.Source§fn get_channel(&self) -> Option<Channel<'_>>
fn get_channel(&self) -> Option<Channel<'_>>
Retrieve a reference to the channel object associated with a given session. See:
switch_core_session_get_channel.Auto Trait Implementations§
impl<'session> Freeze for SessionHandle<'session>
impl<'session> RefUnwindSafe for SessionHandle<'session>
impl<'session> !Send for SessionHandle<'session>
impl<'session> !Sync for SessionHandle<'session>
impl<'session> Unpin for SessionHandle<'session>
impl<'session> UnwindSafe for SessionHandle<'session>
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