pub struct WebButton { /* private fields */ }

Implementations

Trait Implementations

Error type

Error type

Is the input pin high?

Is the input pin low?

The future returned by the wait_for_high function.

Wait until the pin is high. If it is already high, return immediately. Read more

The future returned by wait_for_low.

Wait until the pin is low. If it is already low, return immediately. Read more

The future returned from wait_for_rising_edge.

Wait for the pin to undergo a transition from low to high. Read more

The future returned from wait_for_falling_edge.

Wait for the pin to undergo a transition from high to low. Read more

The future returned from wait_for_any_edge.

Wait for the pin to undergo any transition, i.e low to high OR high to 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.