pub enum ExtendedData {
Normal = 0,
Merge = 2,
Ignore = 1,
}
Expand description
How to handle extended data streams, such as stderr
Variants§
Normal = 0
Queue extended data for eventual reading
Merge = 2
Treat extended data and ordinary data the same. Merge all substreams such that calls to read will pull from all substreams on a first-in/first-out basis.
Ignore = 1
Discard all extended data as it arrives.
Trait Implementations§
Source§impl Clone for ExtendedData
impl Clone for ExtendedData
Source§fn clone(&self) -> ExtendedData
fn clone(&self) -> ExtendedData
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 ExtendedData
impl Debug for ExtendedData
impl Copy for ExtendedData
Auto Trait Implementations§
impl Freeze for ExtendedData
impl RefUnwindSafe for ExtendedData
impl Send for ExtendedData
impl Sync for ExtendedData
impl Unpin for ExtendedData
impl UnwindSafe for ExtendedData
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