Struct qt_core::q_process::InputChannelMode
source · pub struct InputChannelMode(/* private fields */);
Expand description
This enum describes the process input channel modes of QProcess. Pass one of these values to setInputChannelMode() to set the current write channel mode.
C++ enum: QProcess::InputChannelMode
.
This enum describes the process input channel modes of QProcess. Pass one of these values to setInputChannelMode() to set the current write channel mode.
This enum was introduced or modified in Qt 5.2.
See also setInputChannelMode().
Implementations§
source§impl InputChannelMode
impl InputChannelMode
sourcepub const ManagedInputChannel: InputChannelMode = _
pub const ManagedInputChannel: InputChannelMode = _
sourcepub const ForwardedInputChannel: InputChannelMode = _
pub const ForwardedInputChannel: InputChannelMode = _
QProcess forwards the input of the main process onto the running process. The child process reads its standard input from the same source as the main process. Note that the main process must not try to read its standard input while the child process is running. (C++ enum variant: ForwardedInputChannel = 1
)
Trait Implementations§
source§impl Clone for InputChannelMode
impl Clone for InputChannelMode
source§fn clone(&self) -> InputChannelMode
fn clone(&self) -> InputChannelMode
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 InputChannelMode
impl Debug for InputChannelMode
source§impl From<InputChannelMode> for c_int
impl From<InputChannelMode> for c_int
source§fn from(value: InputChannelMode) -> Self
fn from(value: InputChannelMode) -> Self
Converts to this type from the input type.
source§impl From<i32> for InputChannelMode
impl From<i32> for InputChannelMode
source§impl PartialEq for InputChannelMode
impl PartialEq for InputChannelMode
source§fn eq(&self, other: &InputChannelMode) -> bool
fn eq(&self, other: &InputChannelMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InputChannelMode
impl Eq for InputChannelMode
impl StructuralEq for InputChannelMode
impl StructuralPartialEq for InputChannelMode
Auto Trait Implementations§
impl RefUnwindSafe for InputChannelMode
impl Send for InputChannelMode
impl Sync for InputChannelMode
impl Unpin for InputChannelMode
impl UnwindSafe for InputChannelMode
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