(&mut self, kind: EffectReceiptKind)
| 843 | } |
| 844 | |
| 845 | fn put_receipt_kind(&mut self, kind: EffectReceiptKind) -> Result<(), OperationCodecError> { |
| 846 | self.put_u8(match kind { |
| 847 | EffectReceiptKind::Applied => 0, |
| 848 | EffectReceiptKind::Verified => 1, |
| 849 | EffectReceiptKind::RolledBack => 2, |
| 850 | EffectReceiptKind::LeaseRejected => 3, |
| 851 | EffectReceiptKind::Recovered => 4, |
| 852 | }) |
| 853 | } |
| 854 | } |
| 855 | |
| 856 | struct Decoder<'a> { |
no test coverage detected