pub enum DataChannelEvent {
NewChannel,
Open,
Close,
Error(WebRtcError),
OnMessage(DataChannelMessage),
StateChange(DataChannelState),
}
Variants§
NewChannel
Open
Close
Error(WebRtcError)
OnMessage(DataChannelMessage)
StateChange(DataChannelState)
Auto Trait Implementations§
impl Freeze for DataChannelEvent
impl RefUnwindSafe for DataChannelEvent
impl Send for DataChannelEvent
impl Sync for DataChannelEvent
impl Unpin for DataChannelEvent
impl UnwindSafe for DataChannelEvent
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