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 moresource§impl Debug for DuplexPipe
impl Debug for DuplexPipe
Auto Trait Implementations§
impl RefUnwindSafe for DuplexPipe
impl Send for DuplexPipe
impl Sync for DuplexPipe
impl Unpin for DuplexPipe
impl UnwindSafe for DuplexPipe
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more