Enum vjoy_wrapper::vjoy_extra::VJDRegistryError[][src]

pub enum VJDRegistryError {
    InvalidDevice,
    InvalidOrder,
    DuplicateEntry,
    PathError(Error),
}
Expand description

Describes an error state of [get_vjoy_devices_reg].

Variants

InvalidDevice

A device number was not in the range [1, VJGeneral::MAX_DEVICES]. This is a sign of malformed entries.

InvalidOrder

A device number found in registry appeared in an unordered fashion. This is a sign of malformed entries.

DuplicateEntry

A device number was found at least twice in registry. This is a sign of malformed entries.

PathError(Error)

The access to the registry path where devices are registered has failed. std::io::Error is provided for further investigation.

Trait Implementations

Formats the value using the given formatter. Read more

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.