pub enum CallControl {
Invite {
session: SessionId,
from: PeerId,
to: PeerId,
display_name: Option<String>,
rndzv_srt_uri: Option<String>,
},
Accept {
session: SessionId,
from: PeerId,
},
Decline {
session: SessionId,
from: PeerId,
reason: Option<String>,
},
Bye {
session: SessionId,
from: PeerId,
},
Mute {
session: SessionId,
from: PeerId,
muted: bool,
},
SessionInfo {
session: SessionId,
participants: Vec<PeerId>,
},
}Expand description
One-to-one call control messages.
Variants§
Trait Implementations§
Source§impl Clone for CallControl
impl Clone for CallControl
Source§fn clone(&self) -> CallControl
fn clone(&self) -> CallControl
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 CallControl
impl Debug for CallControl
Source§impl<'de> Deserialize<'de> for CallControl
impl<'de> Deserialize<'de> for CallControl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CallControl
impl RefUnwindSafe for CallControl
impl Send for CallControl
impl Sync for CallControl
impl Unpin for CallControl
impl UnsafeUnpin for CallControl
impl UnwindSafe for CallControl
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