Struct std::io::EmptyUnstable [-] [+] [src]

pub struct Empty {
    // some fields omitted
}

A reader which is always at EOF.

Trait Implementations

impl Read for Empty

fn read(&mut self, _buf: &mut [u8]) -> Result<usize>

fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<()>

fn read_to_string(&mut self, buf: &mut String) -> Result<()>