pub struct MiniClient { /* private fields */ }Expand description
Abstraction over WebRTC peer-to-peer connection.
Same as MiniServer, but representing clients in client-server topology.
Implementations§
Source§impl MiniClient
impl MiniClient
Sourcepub fn new(
signaling_server_url: &str,
session_id: SessionId,
connection_type: ConnectionType,
) -> Result<Self, JsValue>
pub fn new( signaling_server_url: &str, session_id: SessionId, connection_type: ConnectionType, ) -> Result<Self, JsValue>
Same as [::new]
Trait Implementations§
Source§impl Clone for MiniClient
impl Clone for MiniClient
Source§fn clone(&self) -> MiniClient
fn clone(&self) -> MiniClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MiniClient
impl !RefUnwindSafe for MiniClient
impl !Send for MiniClient
impl !Sync for MiniClient
impl Unpin for MiniClient
impl !UnwindSafe for MiniClient
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