Commit graph

8 commits

Author SHA1 Message Date
Szymon Walter 117b8d4e75 redo error handling 2018-03-21 20:40:39 +01:00
Szymon Walter d5423d7199 Change sector::Address implementation to use u32
This way a `u64` is guaranteed to be able to index specific bytes in a
Volume.
2018-03-21 18:17:36 +01:00
Szymon Walter 7c57c047bc make Buffer generic over its index, instead of usize 2018-03-20 12:30:36 +01:00
Szymon Walter 0d5b9aef12 add PartialEq impl for Error 2018-03-19 17:23:45 +01:00
Szymon Walter a8199f00d0 add File Ext2 test 2018-03-19 13:35:00 +01:00
Szymon Walter c06982b7ac add Infallible, for errors which never occur 2018-03-19 13:28:18 +01:00
Szymon Walter b211d95807 replace Error/ErroKind pair with just enum Error 2018-03-18 18:34:26 +01:00
Szymon Walter 41f6ea1967 add error module 2018-03-18 18:11:58 +01:00