pub struct Conn { /* private fields */ }Expand description
A tx5 connection.
Implementations§
Source§impl Conn
impl Conn
Sourcepub async fn webrtc_ready(&self)
pub async fn webrtc_ready(&self)
Wait until this connection is connected via webrtc. Note, this will never resolve if we never successfully connect over webrtc.
Sourcepub fn is_using_webrtc(&self) -> bool
pub fn is_using_webrtc(&self) -> bool
Returns true if we sucessfully connected over webrtc.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Conn
impl !RefUnwindSafe for Conn
impl Send for Conn
impl Sync for Conn
impl Unpin for Conn
impl !UnwindSafe for Conn
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