Enum portunusd::door::Error[][src]

pub enum Error {
    InvalidPath(NulError),
    InstallJamb(c_int),
    AttachDoor(c_int),
    OpenDoor(c_int),
    DoorCall(c_int),
    CreateDoor(c_int),
}
Expand description

Door problems.

Two things can go wrong with a door – its path can be invalid, or a system call can fail. If a system call fails, one of this enum’s variants will be returned corresponding to the failed system call. It will contain the value of errno associated with the failed system call.

Variants

InvalidPath(NulError)
InstallJamb(c_int)
AttachDoor(c_int)
OpenDoor(c_int)
DoorCall(c_int)
CreateDoor(c_int)

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.