Trait radio::blocking::BlockingSetState

source ·
pub trait BlockingSetState<S, E> {
    // Required method
    fn set_state_checked(
        &mut self,
        state: S,
        options: BlockingOptions
    ) -> Result<(), BlockingError<E>>;
}
Expand description

BlockingSetState sets the radio state and polls until command completion

Required Methods§

source

fn set_state_checked( &mut self, state: S, options: BlockingOptions ) -> Result<(), BlockingError<E>>

Implementors§

source§

impl<T, S, E> BlockingSetState<S, E> for T
where T: State<State = S, Error = E> + DelayNs, S: Debug + PartialEq + Copy, E: Debug,