(
&mut self,
value: Option<WorkingCopyId>,
)
| 405 | } |
| 406 | |
| 407 | fn put_optional_working_copy( |
| 408 | &mut self, |
| 409 | value: Option<WorkingCopyId>, |
| 410 | ) -> Result<(), OperationCodecError> { |
| 411 | self.put_optional_tag(value.is_some())?; |
| 412 | if let Some(value) = value { |
| 413 | self.put_working_copy(value)?; |
| 414 | } |
| 415 | Ok(()) |
| 416 | } |
| 417 | |
| 418 | fn put_operation_kind(&mut self, kind: OperationKind) -> Result<(), OperationCodecError> { |
| 419 | self.put_u8(match kind { |
no test coverage detected