pub enum ProtocolEvent {
PeerSnapshot {
peers: Vec<PeerSnapshot>,
},
TrackSnapshot {
bindings: Vec<TrackBinding>,
},
PeerInfo {
user_id: UserId,
info: UserInfo,
},
PeerLeft {
user_id: UserId,
},
Broadcast {
sender_id: UserId,
message: JsonPayload,
},
RecordingStateChanged {
state: RecordingStateUpdate,
},
}Variants§
PeerSnapshot
Fields
§
peers: Vec<PeerSnapshot>TrackSnapshot
Fields
§
bindings: Vec<TrackBinding>PeerInfo
PeerLeft
Broadcast
RecordingStateChanged
Fields
§
state: RecordingStateUpdateTrait Implementations§
Source§impl Clone for ProtocolEvent
impl Clone for ProtocolEvent
Source§fn clone(&self) -> ProtocolEvent
fn clone(&self) -> ProtocolEvent
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 moreSource§impl Debug for ProtocolEvent
impl Debug for ProtocolEvent
Source§impl PartialEq for ProtocolEvent
impl PartialEq for ProtocolEvent
impl Eq for ProtocolEvent
impl StructuralPartialEq for ProtocolEvent
Auto Trait Implementations§
impl Freeze for ProtocolEvent
impl RefUnwindSafe for ProtocolEvent
impl Send for ProtocolEvent
impl Sync for ProtocolEvent
impl Unpin for ProtocolEvent
impl UnsafeUnpin for ProtocolEvent
impl UnwindSafe for ProtocolEvent
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