pub struct LinuxBackgroundSession { /* private fields */ }Expand description
Background FUSE session that exposes notifier and explicit join/unmount boundaries.
Implementations§
Source§impl LinuxBackgroundSession
impl LinuxBackgroundSession
Sourcepub fn notifier(&self) -> LinuxKernelNotifier
pub fn notifier(&self) -> LinuxKernelNotifier
Returns a cloneable kernel notification port for remote-change workers.
Sourcepub fn join(self) -> Result<()>
pub fn join(self) -> Result<()>
Waits for the mounted session thread to finish.
§Errors
Returns an error when the background session thread terminates with an I/O failure.
Sourcepub fn unmount_and_join(self) -> Result<()>
pub fn unmount_and_join(self) -> Result<()>
Unmounts the filesystem and then joins its session thread.
§Errors
Returns an error when unmounting or joining the background session fails.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinuxBackgroundSession
impl !RefUnwindSafe for LinuxBackgroundSession
impl Send for LinuxBackgroundSession
impl Sync for LinuxBackgroundSession
impl Unpin for LinuxBackgroundSession
impl !UnwindSafe for LinuxBackgroundSession
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more