pub struct RTCClient { /* private fields */ }
Implementations§
Source§impl RTCClient
impl RTCClient
pub fn new(data_channel: Arc<RTCDataChannel>) -> Self
pub async fn connect(&self) -> RTCDataChannelStream
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RTCClient
impl !RefUnwindSafe for RTCClient
impl Unpin for RTCClient
impl !UnwindSafe for RTCClient
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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