Lines Matching refs:Outcome
152 pub enum Outcome { enum
175 outcome: Mutex<Outcome>,
227 outcome: Mutex::new(Outcome::Unknown), in new()
239 Outcome::Unknown => {} in get_pruning_info()
264 Outcome::Unknown => guard, in prune()
283 *locked_outcome = Outcome::Pruned; in prune()
312 locked_outcome: &mut Outcome, in update_outcome() argument
316 Err(Error::Km(e)) => *locked_outcome = Outcome::ErrorCode(*e), in update_outcome()
317 Err(_) => *locked_outcome = Outcome::ErrorCode(ErrorCode::UNKNOWN_ERROR), in update_outcome()
328 fn check_active(&self) -> Result<MutexGuard<Outcome>> { in check_active() argument
331 Outcome::Unknown => Ok(guard), in check_active()
450 *outcome = Outcome::Success; in finish()
462 fn abort(&self, outcome: Outcome) -> Result<()> { in abort()
485 if let Outcome::Unknown = *guard { in drop()
489 if let Err(e) = self.abort(Outcome::Dropped) { in drop()
884 |op| op.abort(Outcome::Abort).context("In KeystoreOperation::abort"), in abort()