Struct qt_core::q_process::ProcessError
source · pub struct ProcessError(/* private fields */);
Expand description
This enum describes the different types of errors that are reported by QProcess.
C++ enum: QProcess::ProcessError
.
Implementations§
source§impl ProcessError
impl ProcessError
sourcepub const FailedToStart: ProcessError = _
pub const FailedToStart: ProcessError = _
The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program. (C++ enum variant: FailedToStart = 0
)
sourcepub const Crashed: ProcessError = _
pub const Crashed: ProcessError = _
The process crashed some time after starting successfully. (C++ enum variant: Crashed = 1
)
sourcepub const Timedout: ProcessError = _
pub const Timedout: ProcessError = _
The last waitFor…() function timed out. The state of QProcess is unchanged, and you can try calling waitFor…() again. (C++ enum variant: Timedout = 2
)
sourcepub const ReadError: ProcessError = _
pub const ReadError: ProcessError = _
An error occurred when attempting to read from the process. For example, the process may not be running. (C++ enum variant: ReadError = 3
)
sourcepub const WriteError: ProcessError = _
pub const WriteError: ProcessError = _
An error occurred when attempting to write to the process. For example, the process may not be running, or it may have closed its input channel. (C++ enum variant: WriteError = 4
)
sourcepub const UnknownError: ProcessError = _
pub const UnknownError: ProcessError = _
An unknown error occurred. This is the default return value of error(). (C++ enum variant: UnknownError = 5
)
Trait Implementations§
source§impl Clone for ProcessError
impl Clone for ProcessError
source§fn clone(&self) -> ProcessError
fn clone(&self) -> ProcessError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProcessError
impl Debug for ProcessError
source§impl From<ProcessError> for c_int
impl From<ProcessError> for c_int
source§fn from(value: ProcessError) -> Self
fn from(value: ProcessError) -> Self
source§impl From<i32> for ProcessError
impl From<i32> for ProcessError
source§impl PartialEq for ProcessError
impl PartialEq for ProcessError
source§fn eq(&self, other: &ProcessError) -> bool
fn eq(&self, other: &ProcessError) -> bool
self
and other
values to be equal, and is used
by ==
.