pub async fn spawn_real_or_mock_keystore<F>(
func: F
) -> LairResult<(MetaLairClient, MockLairControl)>
Expand description
Spawn a test keystore that can switch between mocked and real.
It starts off as real and can be switched to the given callback mock
using the MockLairControl
.