Struct virtual_fs::pipe::DuplexPipe
source · pub struct DuplexPipe { /* private fields */ }
Expand description
A pair of pipes that are connected together.
Implementations§
source§impl DuplexPipe
impl DuplexPipe
source§impl DuplexPipe
impl DuplexPipe
pub fn new() -> DuplexPipe
pub fn with_blocking(self, block: bool) -> Self
sourcepub fn set_blocking(&mut self, block: bool)
pub fn set_blocking(&mut self, block: bool)
Whether to block on reads (ususally for waiting for stdin keyboard input). Default: true
Trait Implementations§
source§impl Clone for DuplexPipe
impl Clone for DuplexPipe
source§fn clone(&self) -> DuplexPipe
fn clone(&self) -> DuplexPipe
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more