Skip to main content

press_state

Function press_state 

Source
pub(crate) fn press_state(
    state: State,
    until: Option<i64>,
    open: bool,
) -> Result<(), String>
Expand description

A press of one of the three states here, until until (Unix seconds), “until you turn it off” or not (open); applied by the caller.