(state: OperationVerificationState)
| 708 | } |
| 709 | |
| 710 | fn verification_state(state: OperationVerificationState) -> &'static str { |
| 711 | match state { |
| 712 | OperationVerificationState::Prepared => "prepared", |
| 713 | OperationVerificationState::InProgress => "in_progress", |
| 714 | OperationVerificationState::LeaseRejected => "lease_rejected", |
| 715 | OperationVerificationState::Verified => "verified", |
| 716 | } |
| 717 | } |
| 718 | |
| 719 | fn git_hash_algorithm(algorithm: GitHashAlgorithm) -> &'static str { |
| 720 | match algorithm { |