Trait Driver
Other items inunmp_link
pub trait Driver { fn name(&self) -> &str; fn send(self: Arc<Self>, buf: &[u8]) -> ResultFuture; }
链路驱动接口
fn name(&self) -> &str
获取自定义标识
fn send(self: Arc<Self>, buf: &[u8]) -> ResultFuture
数据发送接口