Struct qt_core::q_process::ProcessChannel
source · pub struct ProcessChannel(/* private fields */);
Expand description
This enum describes the process channels used by the running process. Pass one of these values to setReadChannel() to set the current read channel of QProcess.
C++ enum: QProcess::ProcessChannel
.
This enum describes the process channels used by the running process. Pass one of these values to setReadChannel() to set the current read channel of QProcess.
See also setReadChannel().
Implementations§
source§impl ProcessChannel
impl ProcessChannel
sourcepub const StandardOutput: ProcessChannel = _
pub const StandardOutput: ProcessChannel = _
The standard output (stdout) of the running process. (C++ enum variant: StandardOutput = 0
)
sourcepub const StandardError: ProcessChannel = _
pub const StandardError: ProcessChannel = _
The standard error (stderr) of the running process. (C++ enum variant: StandardError = 1
)
Trait Implementations§
source§impl Clone for ProcessChannel
impl Clone for ProcessChannel
source§fn clone(&self) -> ProcessChannel
fn clone(&self) -> ProcessChannel
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 ProcessChannel
impl Debug for ProcessChannel
source§impl From<ProcessChannel> for c_int
impl From<ProcessChannel> for c_int
source§fn from(value: ProcessChannel) -> Self
fn from(value: ProcessChannel) -> Self
Converts to this type from the input type.
source§impl From<i32> for ProcessChannel
impl From<i32> for ProcessChannel
source§impl PartialEq for ProcessChannel
impl PartialEq for ProcessChannel
source§fn eq(&self, other: &ProcessChannel) -> bool
fn eq(&self, other: &ProcessChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessChannel
impl Eq for ProcessChannel
impl StructuralEq for ProcessChannel
impl StructuralPartialEq for ProcessChannel
Auto Trait Implementations§
impl RefUnwindSafe for ProcessChannel
impl Send for ProcessChannel
impl Sync for ProcessChannel
impl Unpin for ProcessChannel
impl UnwindSafe for ProcessChannel
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