Trait scaproust::transport::pipe::Pipe
[−]
[src]
pub trait Pipe { fn ready(&mut self, ctx: &mut Context, events: Ready); fn open(&mut self, ctx: &mut Context); fn close(&mut self, ctx: &mut Context); fn send(&mut self, ctx: &mut Context, msg: Rc<Message>); fn recv(&mut self, ctx: &mut Context); }
Required Methods
fn ready(&mut self, ctx: &mut Context, events: Ready)
fn open(&mut self, ctx: &mut Context)
fn close(&mut self, ctx: &mut Context)
fn send(&mut self, ctx: &mut Context, msg: Rc<Message>)
fn recv(&mut self, ctx: &mut Context)
Implementors
impl<S: AsyncPipeStub> Pipe for AsyncPipe<S>