pub async fn mount<F>(fs: F, mountpoint: impl AsRef<Path>, mountopts: &[&OsStr]) -> io::Result<()>
where
    F: Filesystem + Send + 'static,
{
    let mut server = Server::mount(mountpoint, mountopts).await?;
    server.run(fs).await?;
    Ok(())
}
/// Run a FUSE filesystem mounted onto the specified path.
Run a FUSE filesystem mounted onto the specified path.
Run a FUSE filesystem mounted onto the specified path .
pub async fn mount<F>(fs: F, mountpoint: impl AsRef<Path>, mountopts: &[&OsStr]) -> io::Result<()>
where
    F: Filesystem + Send + 'static,
{
    let mut server = Server::mount(mountpoint, mountopts).await?;
    server.run(fs).await?;
    Ok(())
}
pub async fn mount < F > ( fs : F , mountpoint : impl AsRef < Path > , mountopts : & [ & OsStr ] ) -> io :: Result < ( ) > where F : Filesystem + Send + ' static , { let mut server = Server :: mount ( mountpoint , mountopts ) . await ? ; server . run ( fs ) . await ? ; Ok ( ( ) ) }
Run a FUSE filesystem mounted onto the specified path.
Run a FUSE filesystem mounted onto the specified path .
fs
F
mountpoint
impl AsRef<Path>
mountopts
&[&OsStr]
fs
F
mountpoint
impl AsRef<Path>
mountopts
&[&OsStr]