[][src]Struct qt_core::q_process::ProcessError

#[repr(transparent)]pub struct ProcessError(_);

This enum describes the different types of errors that are reported by QProcess.

C++ enum: QProcess::ProcessError.

C++ documentation:

This enum describes the different types of errors that are reported by QProcess.

See also error().

Methods

impl ProcessError[src]

pub fn to_int(&self) -> c_int[src]

impl ProcessError[src]

pub const FailedToStart: ProcessError[src]

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)

pub const Crashed: ProcessError[src]

The process crashed some time after starting successfully. (C++ enum variant: Crashed = 1)

pub const Timedout: ProcessError[src]

The last waitFor...() function timed out. The state of QProcess is unchanged, and you can try calling waitFor...() again. (C++ enum variant: Timedout = 2)

pub const ReadError: ProcessError[src]

An error occurred when attempting to read from the process. For example, the process may not be running. (C++ enum variant: ReadError = 3)

pub const WriteError: ProcessError[src]

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)

pub const UnknownError: ProcessError[src]

An unknown error occurred. This is the default return value of error(). (C++ enum variant: UnknownError = 5)

Trait Implementations

impl Clone for ProcessError[src]

impl Copy for ProcessError[src]

impl Debug for ProcessError[src]

impl Eq for ProcessError[src]

impl From<ProcessError> for c_int[src]

impl From<i32> for ProcessError[src]

impl PartialEq<ProcessError> for ProcessError[src]

impl StructuralEq for ProcessError[src]

impl StructuralPartialEq for ProcessError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.