pub fn encoded_state() -> u64Expand description
Pack the slot’s current (generation, mode) into a single u64 for an
FFI getter to return verbatim — see the module docs’ FFI-encoding
section for the exact bit layout. Each mobile shell exports this
unchanged; its own Kotlin/Swift decoder is built against it.