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
.
pub fn data_from_state(state: &State) -> Result<&Data, Error>
Get the nonce data from its State
value.
Returns Error::InvalidStateForOperation
if state
is
State::Uninitialized
.