pub enum Event {
ConnectionStateChange(ConnectionState),
SelectedCandidatePairChange(Box<Candidate>, Box<Candidate>),
RoleChange(bool),
}Variants§
ConnectionStateChange(ConnectionState)
SelectedCandidatePairChange(Box<Candidate>, Box<Candidate>)
RoleChange(bool)
Emitted when the ICE role switches due to a role conflict (RFC 8445 §7.3.1.1).
The bool is true if the agent is now controlling, false if now controlled.
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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