(&mut self)
| 1391 | } |
| 1392 | |
| 1393 | fn read_checkpoint_kind(&mut self) -> Result<CheckpointKind, OperationCodecError> { |
| 1394 | match self.read_u8()? { |
| 1395 | 0 => Ok(CheckpointKind::Bridge), |
| 1396 | 1 => Ok(CheckpointKind::WorkingCopyCompatibility), |
| 1397 | 2 => Ok(CheckpointKind::Recovery), |
| 1398 | tag => Err(OperationCodecError::new(format!( |
| 1399 | "unsupported checkpoint kind tag {tag}" |
| 1400 | ))), |
| 1401 | } |
| 1402 | } |
| 1403 | |
| 1404 | fn read_verification_scope(&mut self) -> Result<VerificationScope, OperationCodecError> { |
| 1405 | match self.read_u8()? { |
no test coverage detected