refactor: remove a bunch of unwraps
1. Replace `From` trait for raft::Entry with the `TryFrom`. Fairly handle its errors in the storage. 2. Replace some other unwraps with "expect" with a more clear message. 3. Support all of `raft::EntryType` variants.
parent
8c72246a
No related branches found
No related tags found
Loading
-
mentioned in commit 37ee3a9b
By Yaroslav Dynnikov on 2022-02-01T11:21:14 (imported from GitLab)
-
mentioned in commit 37ee3a9b
By Yaroslav Dynnikov on 2022-02-01T11:21:14 (imported from GitLab)
-
mentioned in merge request !30 (merged)
By Yaroslav Dynnikov on 2022-02-01T11:22:02 (imported from GitLab)
-
mentioned in merge request !30 (merged)
By Yaroslav Dynnikov on 2022-02-01T11:22:02 (imported from GitLab)
-
mentioned in commit 0d8678ab
By Yaroslav Dynnikov on 2022-02-01T12:21:12 (imported from GitLab)
-
mentioned in commit 0d8678ab
By Yaroslav Dynnikov on 2022-02-01T12:21:12 (imported from GitLab)
Please register or sign in to comment