radumarias / rencfs

An encrypted file system written in Rust that is mounted with FUSE on Linux. It can be used to create encrypted directories
Apache License 2.0
80 stars 16 forks source link

Trait for pub API in EncryptedFs #198

Open radumarias opened 1 week ago

radumarias commented 1 week ago

Create a trait EncryptedFilesystem which contains all pub methods from EncryptedFs and have docs to use that as a lib.

You need to use async-trait as for now Rust doesn't allow async methods in traits.

Method in EncryptedFs::into_encrypted_filesystem to transform (and consume) self into EncryptedFilesystem.