Lines Matching refs:Ok
76 Ok(()) in store()
83 Ok(f) => f, in get()
84 Err(storage::Error::Code(trusty_sys::Error::NotFound)) => return Ok(None), in get()
96 Ok(Some(buffer)) in get()
103 Ok(_) => Ok(()), in delete()
104 Err(storage::Error::Code(trusty_sys::Error::NotFound)) => Ok(()), in delete()
114 Ok((filename, _state)) if filename.starts_with(PREFIX_V1) => { in delete_all()
122 Ok((filename, _state)) => log::info!("Skipping unrelated file {filename}"), in delete_all()
129 Ok(()) in delete_all()
153 expect_eq!(store.get(KEY1), Ok(Some(SECRET1.to_vec()))); in test_secretkeeper_store()
154 expect_eq!(store.get(KEY2), Ok(None)); in test_secretkeeper_store()
156 expect_eq!(store.get(KEY1), Ok(Some(SECRET2.to_vec()))); in test_secretkeeper_store()
157 expect_eq!(store.get(KEY2), Ok(None)); in test_secretkeeper_store()
159 expect_eq!(store.get(KEY1), Ok(Some(SECRET1.to_vec()))); in test_secretkeeper_store()
160 expect_eq!(store.get(KEY2), Ok(None)); in test_secretkeeper_store()
162 expect_eq!(store.get(KEY1), Ok(Some(SECRET1.to_vec()))); in test_secretkeeper_store()
163 expect_eq!(store.get(KEY2), Ok(Some(SECRET1.to_vec()))); in test_secretkeeper_store()
165 expect_eq!(store.get(KEY1), Ok(None)); in test_secretkeeper_store()
166 expect_eq!(store.get(KEY2), Ok(Some(SECRET1.to_vec()))); in test_secretkeeper_store()
168 expect_eq!(store.get(KEY1), Ok(None)); in test_secretkeeper_store()
169 expect_eq!(store.get(KEY2), Ok(None)); in test_secretkeeper_store()