pub enum Phase {
Idle,
OfferSent,
OfferReceived,
AnswerSent,
AnswerReceived,
Established,
Closed,
}Expand description
Connection lifecycle state.
Variants§
Idle
No offer or answer exists.
OfferSent
This endpoint has sent an offer.
OfferReceived
A valid offer from the configured peer awaits a local answer.
AnswerSent
This endpoint has sent an answer and awaits transport connection.
AnswerReceived
This endpoint has received an answer and awaits transport connection.
Established
The platform adapter reported the WebRTC control channel connected.
Closed
A local or remote close finished this attempt.
Trait Implementations§
impl Copy for Phase
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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