Enum driver_pal::hal::HalInputPin[][src]

pub enum HalInputPin {
    Linux(SysfsPin),
    Cp2130(InputPin),
    None,
}
Expand description

Input pin hal wrapper

Variants

Linux(SysfsPin)

Tuple Fields of Linux

0: SysfsPin
Cp2130(InputPin)

Tuple Fields of Cp2130

0: InputPin
None

Trait Implementations

Error type

Is the input pin high?

Is the input pin low?

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.