Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
rusty_fork::Error - Rust
[go: Go Back, main page]

Enum rusty_fork::Error[]

pub enum Error {
    UnknownFlag(String),
    DisallowedFlag(StringString),
    SpawnError(Error),
}

Enum for errors produced by the rusty-fork crate.

Variants

An unknown flag was encountered when examining the current process's argument list.

The string is the flag that was encountered.

A flag was encountered when examining the current process's argument list which is known but cannot be handled in any sensible way.

The strings are the flag encountered and a human-readable message about why the flag could not be handled.

Spawning a subprocess failed.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for Error

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error