Enum datachannel::ConnectionState
source · [−]pub enum ConnectionState {
New,
Connecting,
Connected,
Disconnected,
Failed,
Closed,
}
Variants
New
Connecting
Connected
Disconnected
Failed
Closed
Trait Implementations
sourceimpl Debug for ConnectionState
impl Debug for ConnectionState
sourceimpl PartialEq<ConnectionState> for ConnectionState
impl PartialEq<ConnectionState> for ConnectionState
sourcefn eq(&self, other: &ConnectionState) -> bool
fn eq(&self, other: &ConnectionState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ConnectionState
impl StructuralEq for ConnectionState
impl StructuralPartialEq for ConnectionState
Auto Trait Implementations
impl RefUnwindSafe for ConnectionState
impl Send for ConnectionState
impl Sync for ConnectionState
impl Unpin for ConnectionState
impl UnwindSafe for ConnectionState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more