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 more