pub fn data_from_state(state: &State) -> Result<&Data, Error>
Expand description

Get the nonce data from its [State] value.

Errors

Returns Error::InvalidStateForOperation if state is [State::Uninitialized].