Struct PipeByteChan

pub struct PipeByteChan {
    chan: pipes::Chan<~[u8]>,
}

Struct PipeBytePort

pub struct PipeBytePort {
    port: pipes::Port<~[u8]>,
    mut buf: ~[u8],
}

Struct ReaderBytePort

pub struct ReaderBytePort <R: Reader>{
    reader: R,
}

Struct WriterByteChan

pub struct WriterByteChan <W: Writer>{
    writer: W,
}

Implementation of BytePort for ReaderBytePort<R>

Method try_recv

fn try_recv(count: uint) -> Option<~[u8]>

Implementation of ByteChan for WriterByteChan<W>

Method send

fn send(val: ~[u8])

Implementation for ReaderBytePort<R>

Method new

fn new(r: R) -> ReaderBytePort<R>

Implementation for WriterByteChan<W>

Method new

fn new(w: W) -> WriterByteChan<W>

Implementation of BytePort for PipeBytePort

Method try_recv

fn try_recv(count: uint) -> Option<~[u8]>

Implementation of ByteChan for PipeByteChan

Method send

fn send(val: ~[u8])

Implementation for PipeBytePort

Method new

fn new(p: Port<~[u8]>) -> PipeBytePort

Implementation for PipeByteChan

Method new

fn new(c: Chan<~[u8]>) -> PipeByteChan