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
Auto Trait Implementations
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.