Expand description
../README.md
Re-exports§
pub use async_trait;
Structs§
- Channel
Config - Configuration options for a data channel See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel
- PeerId
- The format for a peer signature given by the signaling server
- RtcIce
Server Config - Configuration options for an ICE server connection. See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer#example
- WebRtc
Channel - Used to send and receive packets on a given WebRTC channel. Must be created as part of a
WebRtcSocket
. - WebRtc
Socket - Contains a set of
WebRtcChannel
s and connection metadata. - WebRtc
Socket Builder - Builder for
WebRtcSocket
s.
Enums§
- Channel
Error - An error that can occur when getting a socket’s channel through
get_channel
,take_channel
ortry_update_peers
. - Error
- Errors that can happen when using Matchbox sockets.
- Peer
Signal - Signals go from peer to peer via the signaling server
- Peer
State - The state of a connection to a peer
- Signaling
Error - An error that can occur with WebRTC messaging. See [Signaller].
Traits§
- Signaller
- A signalling implementation.
- Signaller
Builder - A builder that constructs a new Signaller from a room URL.
Type Aliases§
- Message
Loop Future - A future which runs the message loop for the socket and completes when the socket closes or disconnects
- Packet
- The raw format of data being sent and received.
- Peer
Event - Events go from signaling server to peer
- Peer
Request - Requests go from peer to signaling server