pub struct NullWebRtcCarrier;Expand description
Minimal carrier: no STUN, no portmap, system clock.
Trait Implementations§
Source§impl Clone for NullWebRtcCarrier
impl Clone for NullWebRtcCarrier
impl Copy for NullWebRtcCarrier
Source§impl Debug for NullWebRtcCarrier
impl Debug for NullWebRtcCarrier
Source§impl Default for NullWebRtcCarrier
impl Default for NullWebRtcCarrier
Source§impl WebRtcCarrier for NullWebRtcCarrier
impl WebRtcCarrier for NullWebRtcCarrier
Source§fn stun_servers<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Vec<SocketAddr>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stun_servers<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Vec<SocketAddr>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
STUN server addresses used while gathering (no TURN).
Source§fn bind_addr(&self) -> Option<SocketAddr>
fn bind_addr(&self) -> Option<SocketAddr>
Optional forced bind for the answerer’s ICE UDP sockets.
Source§fn port_mapper(&self) -> Arc<dyn SessionPortMapper> ⓘ
fn port_mapper(&self) -> Arc<dyn SessionPortMapper> ⓘ
IPv4 session-port mapper (UPnP / carrier portmap). Default: unavailable.
Source§fn mapping_description(&self) -> &str
fn mapping_description(&self) -> &str
Description string passed to
SessionPortMapper::map.Source§fn bind_session<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_identity: &'life1 OpenOk,
_peer: [u8; 32],
_handle: &'life2 WebRtcHandle,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn bind_session<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_identity: &'life1 OpenOk,
_peer: [u8; 32],
_handle: &'life2 WebRtcHandle,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Called after the handle is created and before the answerer runs. Read more
Auto Trait Implementations§
impl Forget for NullWebRtcCarrier
impl Freeze for NullWebRtcCarrier
impl Move for NullWebRtcCarrier
impl RefUnwindSafe for NullWebRtcCarrier
impl Send for NullWebRtcCarrier
impl Sync for NullWebRtcCarrier
impl Unpin for NullWebRtcCarrier
impl UnsafeUnpin for NullWebRtcCarrier
impl UnwindSafe for NullWebRtcCarrier
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