[][src]Struct fuse3::Session

pub struct Session<FS> { /* fields omitted */ }

fuse filesystem session.

Implementations

impl<FS> Session<FS>[src]

pub fn new(mount_options: MountOptions) -> Self[src]

new a fuse filesystem session.

pub fn get_notify(&self) -> Notify[src]

get a notify.

impl<FS: Filesystem + Send + Sync + 'static> Session<FS>[src]

pub async fn mount_with_unprivileged<P: AsRef<Path>>(
    __arg0: Self,
    fs: FS,
    mount_path: P
) -> IoResult<()>
[src]

mount the filesystem without root permission. This function will block until the filesystem is unmounted.

pub async fn mount<P: AsRef<Path>>(
    __arg0: Self,
    fs: FS,
    mount_path: P
) -> IoResult<()>
[src]

mount the filesystem. This function will block until the filesystem is unmounted.

Auto Trait Implementations

impl<FS> !RefUnwindSafe for Session<FS>

impl<FS> Send for Session<FS> where
    FS: Send + Sync

impl<FS> Sync for Session<FS> where
    FS: Send + Sync

impl<FS> Unpin for Session<FS>

impl<FS> !UnwindSafe for Session<FS>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.