Struct qt_core::q_process::ProcessState
source · pub struct ProcessState(/* private fields */);
Expand description
This enum describes the different states of QProcess.
C++ enum: QProcess::ProcessState
.
Implementations§
source§impl ProcessState
impl ProcessState
sourcepub const NotRunning: ProcessState = _
pub const NotRunning: ProcessState = _
The process is not running. (C++ enum variant: NotRunning = 0
)
sourcepub const Starting: ProcessState = _
pub const Starting: ProcessState = _
The process is starting, but the program has not yet been invoked. (C++ enum variant: Starting = 1
)
sourcepub const Running: ProcessState = _
pub const Running: ProcessState = _
The process is running and is ready for reading and writing. (C++ enum variant: Running = 2
)
Trait Implementations§
source§impl Clone for ProcessState
impl Clone for ProcessState
source§fn clone(&self) -> ProcessState
fn clone(&self) -> ProcessState
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 ProcessState
impl Debug for ProcessState
source§impl From<ProcessState> for c_int
impl From<ProcessState> for c_int
source§fn from(value: ProcessState) -> Self
fn from(value: ProcessState) -> Self
Converts to this type from the input type.
source§impl From<i32> for ProcessState
impl From<i32> for ProcessState
source§impl PartialEq for ProcessState
impl PartialEq for ProcessState
source§fn eq(&self, other: &ProcessState) -> bool
fn eq(&self, other: &ProcessState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProcessState
impl Eq for ProcessState
impl StructuralEq for ProcessState
impl StructuralPartialEq for ProcessState
Auto Trait Implementations§
impl RefUnwindSafe for ProcessState
impl Send for ProcessState
impl Sync for ProcessState
impl Unpin for ProcessState
impl UnwindSafe for ProcessState
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