0xMiden / 0xMiden/protocol

Handling of IO errors

Đang mở
#2,010 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
132
Fork
167
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
110

Mô tả

Currently any IO errors are going to cause a panic, for the most part since our trait design evolved around in-memory only. Now this is fine for the most part, most libraries like rocksdb do this internally, however, for custom code we require diligence to not i.e. panic on an `EAGAIN` which is non-fatal (not specific to `SmtStore`). These are two separate concerns, yet they're closely related - error handling of IO related errors.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.