Enum spork::BufferMode
source · pub enum BufferMode {
Line,
Full,
Custom(usize),
}
Variants§
Line
Each line is output in one write operation.
For stdin
this is the same as Inherit
.
Full
The output is only written after the child process exits.
For stdin
this is the same as Inherit
.
Custom(usize)
The output is read in chunks of the given size.
LineBuffered
usually behaves better.
For stdin
this is the same as Inherit
.
Trait Implementations§
source§impl Clone for BufferMode
impl Clone for BufferMode
source§fn clone(&self) -> BufferMode
fn clone(&self) -> BufferMode
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