pub trait MyFileSystemIf {
    // Required method
    fn new_myfs(disk: Disk) -> Arc<dyn VfsOps>;
}
Available on crate features fs and myfs only.
Expand description

The interface to define custom filesystems in user apps.

Required Methods§

source

fn new_myfs(disk: Disk) -> Arc<dyn VfsOps>

Creates a new instance of the filesystem with initialization.

TODO: use generic disk type

Object Safety§

This trait is not object safe.

Implementors§