pub trait ChannelTrait: Send {
// Provided methods
fn get_config(&self) -> &ChannelConfig { ... }
fn read(&self, _: &mut Cursor<&Vec<u8>>) -> IOResult<Value> { ... }
fn write(&self, _: &mut Cursor<&mut Vec<u8>>, _: &Value) -> IOResult<()> { ... }
}