pub enum OutputLine {
Out(String),
Err(String),
}Expand description
A piece of a process’s output, as Process::lines hands it over: a
line with its \n, or the end of the output without one. A line longer
than 64 KB comes in pieces. Bytes that are not UTF-8 are replaced.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OutputLine
impl Clone for OutputLine
Source§impl Debug for OutputLine
impl Debug for OutputLine
impl Eq for OutputLine
Source§impl PartialEq for OutputLine
impl PartialEq for OutputLine
impl StructuralPartialEq for OutputLine
Auto Trait Implementations§
impl Freeze for OutputLine
impl RefUnwindSafe for OutputLine
impl Send for OutputLine
impl Sync for OutputLine
impl Unpin for OutputLine
impl UnsafeUnpin for OutputLine
impl UnwindSafe for OutputLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.