pub async fn spawn_crude_mock_keystore<F>(
err_fn: F
) -> LairResult<KeystoreSender> where
F: Fn() -> LairError + Send + 'static,
Expand description
Spawn a test keystore which always returns the same LairError for every call.
pub async fn spawn_crude_mock_keystore<F>(
err_fn: F
) -> LairResult<KeystoreSender> where
F: Fn() -> LairError + Send + 'static,
Spawn a test keystore which always returns the same LairError for every call.