[−][src]Struct fuser::BackgroundSession
The background session data structure
Fields
mountpoint: PathBuf
Path of the mounted filesystem
guard: JoinGuard<'a, Result<()>>
Thread guard of the background session
Implementations
impl<'a> BackgroundSession<'a>
[src]
pub unsafe fn new<FS: Filesystem + Send + 'a>(
se: Session<FS>
) -> Result<BackgroundSession<'a>>
[src]
se: Session<FS>
) -> Result<BackgroundSession<'a>>
Create a new background session for the given session by running its session loop in a background thread. If the returned handle is dropped, the filesystem is unmounted and the given session ends.
Trait Implementations
impl<'a> Debug for BackgroundSession<'a>
[src]
impl<'a> Drop for BackgroundSession<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for BackgroundSession<'a>
impl<'a> Send for BackgroundSession<'a>
impl<'a> Sync for BackgroundSession<'a>
impl<'a> Unpin for BackgroundSession<'a>
impl<'a> !UnwindSafe for BackgroundSession<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,