Struct bl602_sdk::wifi::stateMachine[][src]

#[repr(C)]
pub struct stateMachine { pub currentState: *const state, pub previousState: *const state, pub errorState: *const state, }
Expand description

\brief State machine

There is no need to manipulate the members directly.

Fields

currentState: *const state

\brief Pointer to the current state

previousState: *const state

\brief Pointer to previous state

The previous state is stored for convenience in case the user needs to keep track of previous states.

errorState: *const state

\brief Pointer to a state that will be entered whenever an error occurs in the state machine.

See #stateM_errorStateReached for when the state machine enters the error state.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. 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.