diff --git a/rcore-fs/src/vfs.rs b/rcore-fs/src/vfs.rs index 78c7d38..083ce7d 100644 --- a/rcore-fs/src/vfs.rs +++ b/rcore-fs/src/vfs.rs @@ -257,6 +257,7 @@ pub enum FsError { IOCTLError, NoDevice, Again, // E_AGAIN, when no data is available, never happens in fs + SymLoop, //E_LOOP } impl fmt::Display for FsError { @@ -277,7 +278,7 @@ impl std::error::Error for FsError {} pub type Result = result::Result; /// Abstract file system -pub trait FileSystem: Sync { +pub trait FileSystem: Sync+Send { /// Sync all data to the storage fn sync(&self) -> Result<()>;