enum BundleUpdateRef<'a> {
RemoteMedia {
bindings: &'a [TrackBinding],
},
Broadcast {
sender_id: &'a UserId,
message: &'a JsonPayload,
},
Disconnect {
user_id: &'a UserId,
},
SessionInfoChange(BTreeMap<Cow<'a, str>, &'a UserInfo>),
ChannelInfoChange(&'a RecordingStateUpdate),
}Variants§
RemoteMedia
Fields
§
bindings: &'a [TrackBinding]Broadcast
Disconnect
SessionInfoChange(BTreeMap<Cow<'a, str>, &'a UserInfo>)
ChannelInfoChange(&'a RecordingStateUpdate)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BundleUpdateRef<'a>
impl<'a> RefUnwindSafe for BundleUpdateRef<'a>
impl<'a> Send for BundleUpdateRef<'a>
impl<'a> Sync for BundleUpdateRef<'a>
impl<'a> Unpin for BundleUpdateRef<'a>
impl<'a> UnsafeUnpin for BundleUpdateRef<'a>
impl<'a> UnwindSafe for BundleUpdateRef<'a>
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