pub struct IncomingCallReceiver { /* private fields */ }
Expand description
Receives incoming calls from the SIP server.
Implementations§
Source§impl IncomingCallReceiver
impl IncomingCallReceiver
Sourcepub async fn recv(&mut self) -> Option<IncomingCall>
pub async fn recv(&mut self) -> Option<IncomingCall>
Receive the next incoming call.
Returns None
when the underlying connection was closed.
Auto Trait Implementations§
impl Freeze for IncomingCallReceiver
impl RefUnwindSafe for IncomingCallReceiver
impl Send for IncomingCallReceiver
impl Sync for IncomingCallReceiver
impl Unpin for IncomingCallReceiver
impl UnwindSafe for IncomingCallReceiver
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