Struct kernel::io::pipe::Pipe [−] [src]

pub struct Pipe {
    // some fields omitted
}

Methods

impl Pipe

fn new() -> Self

fn queue_len(&self) -> usize

Trait Implementations

impl AsyncRead for Pipe

fn read_async(&self, buf: Vec<u8>) -> Promise<Result<Vec<u8>>>

impl Write for Pipe

fn write(&self, buf: &[u8]) -> Result<usize>