Enum pty_shell::tty::ForkError [] [src]

pub enum ForkError {
    Failure,
    SetsidFail,
    WaitpidFail,
    IsChild,
    IsParent,
    BadMaster(MasterError),
    BadSlave(SlaveError),
    BadDescriptorMaster(DescriptorError),
    BadDescriptorSlave(DescriptorError),
}

The enum ForkError defines the possible errors from constructor Fork.

Variants

Can't creates the child.

Can't set the id group.

Can't suspending the calling process.

Is child and not parent.

Is parent and not child.

The Master occured a error.

The Slave occured a error.

The Master's Descriptor occured a error.

The Slave's Descriptor occured a error.

Trait Implementations

impl Display for ForkError
[src]

The function fmt formats the value using the given formatter.

impl Copy for ForkError
[src]

impl Error for ForkError
[src]

The function description returns a short description of the error.

The function cause returns the lower-level cause of this error, if any.

impl Debug for ForkError
[src]

Formats the value using the given formatter.

impl Clone for ForkError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more