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
fn interactive(self) -> Option<ExitStatus>
[src]
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]
&mut self,
buf: &mut O,
pattern: P,
try_not_consume: bool
) -> Result<()>
Implementors
impl Process for LocalProcess
[src]
impl Process for LocalProcess
[src]fn interactive(self) -> Option<ExitStatus>
[src]
impl Process for RemoteProcess
[src]
impl Process for RemoteProcess
[src]