Struct gpio_cdev::LineEvent[][src]

pub struct LineEvent(_);
Expand description

Information about a change to the state of a Line

Wraps kernel struct gpioevent_data.

Implementations

Best estimate of event occurrence time, in nanoseconds

In most cases, the timestamp for the event is captured in an interrupt handler so it should be very accurate.

The nanosecond timestamp value should are captured using the CLOCK_REALTIME offsets in the kernel and should be compared against CLOCK_REALTIME values.

Was this a rising or a falling edge?

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.