[][src]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) { ... } }

Provided methods

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)

Loading content...

Implementors

Loading content...