rust-fatfs
rust-fatfs copied to clipboard
Rid into storage trait
This PR seeks to solve #54.
This is done by implementing Read, Write, Seek, IoBase
for mutable references and removing the IntoStorage
trait.
This enables one to give a mutable reference to Filesystem::new(..)
. Which can be freed up when an error occurs.
An example of recovering a corrupted filesystem can be seen in /tests/format.rs#L78.
ping @rafalh