(&self)
| 77 | |
| 78 | impl TransactionStatus { |
| 79 | pub fn as_byte(&self) -> u8 { |
| 80 | match self { |
| 81 | TransactionStatus::Idle => b'I', |
| 82 | TransactionStatus::InTransaction => b'T', |
| 83 | TransactionStatus::InFailedTransaction => b'E', |
| 84 | } |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | #[derive(Debug, Clone)] |
no outgoing calls
no test coverage detected