Open3fsFile

Trait Open3fsFile 

Source
pub trait Open3fsFile {
    // Required method
    fn open_3fs_file<P: AsRef<Path>>(&self, path: P) -> Result<File>
       where Self: Sized;
}
Expand description

Trait for opening files in the 3fs filesystem. This trait extends the standard file opening capabilities with 3fs-specific functionality.

Required Methods§

Source

fn open_3fs_file<P: AsRef<Path>>(&self, path: P) -> Result<File>
where Self: Sized,

Opens a file in the 3fs filesystem.

§Arguments
  • path - The path to the file to open
§Returns
  • Result<File> - The opened 3fs file or an error

Implementations on Foreign Types§

Source§

impl Open3fsFile for OpenOptions

Source§

fn open_3fs_file<P: AsRef<Path>>(&self, path: P) -> Result<File>
where Self: Sized,

Implementors§