Trait pwnr::process::Process[][src]

pub trait Process: BufRead + Write + Sized {
    fn interactive(self) -> Option<ExitStatus>;

    fn read_lines(&mut self, buf: &mut String, lines: usize) -> Result<()> { ... }
fn read_until<OU: From<u8>, O: Extend<OU>, P: AsRef<[u8]>>(
        &mut self,
        buf: &mut O,
        pattern: P,
        try_not_consume: bool
    ) -> Result<()> { ... } }

Required methods

Loading content...

Provided methods

fn read_lines(&mut self, buf: &mut String, lines: usize) -> Result<()>[src]

fn read_until<OU: From<u8>, O: Extend<OU>, P: AsRef<[u8]>>(
    &mut self,
    buf: &mut O,
    pattern: P,
    try_not_consume: bool
) -> Result<()>
[src]

Loading content...

Implementors

Loading content...