Open radumarias opened 1 week ago
Create a trait EncryptedFilesystem which contains all pub methods from EncryptedFs and have docs to use that as a lib.
EncryptedFilesystem
EncryptedFs
You need to use async-trait as for now Rust doesn't allow async methods in traits.
async
Method in EncryptedFs::into_encrypted_filesystem to transform (and consume) self into EncryptedFilesystem.
EncryptedFs::into_encrypted_filesystem
self
Create a trait
EncryptedFilesystem
which contains all pub methods fromEncryptedFs
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
intoEncryptedFilesystem
.