Trait DataChannel
datachannel
pub trait DataChannel { fn on_open(&mut self) { ... } fn on_closed(&mut self) { ... } fn on_error(&mut self, err: &str) { ... } fn on_message(&mut self, msg: &[u8]) { ... } fn on_buffered_amount_low(&mut self) { ... } }
fn on_open(&mut self)
fn on_closed(&mut self)
fn on_error(&mut self, err: &str)
fn on_message(&mut self, msg: &[u8])
fn on_buffered_amount_low(&mut self)