pub struct Server { /* private fields */ }
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
Expand description
A FUSE filesystem server running on Tokio runtime.
Implementations§
Source§impl Server
impl Server
Sourcepub async fn mount<'a>(
mountpoint: impl AsRef<Path>,
mountopts: &'a [&'a OsStr],
) -> Result<Self>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn mount<'a>( mountpoint: impl AsRef<Path>, mountopts: &'a [&'a OsStr], ) -> Result<Self>
Create a FUSE server mounted on the specified path.
Sourcepub fn try_clone(&self) -> Result<Self>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub fn try_clone(&self) -> Result<Self>
Attempt to make a clone of this instance.
Sourcepub async fn run<F>(&mut self, fs: F) -> Result<()>where
F: Filesystem + Send + 'static,
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn run<F>(&mut self, fs: F) -> Result<()>where
F: Filesystem + Send + 'static,
Run a FUSE filesystem daemon.
Sourcepub async fn run_until<F, S>(
&mut self,
fs: F,
sig: S,
) -> Result<Option<S::Output>>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn run_until<F, S>( &mut self, fs: F, sig: S, ) -> Result<Option<S::Output>>
Run a FUSE filesystem until the specified signal is received.
Sourcepub async fn run_single<'a, F>(&'a mut self, fs: &'a F) -> Result<()>where
F: Filesystem,
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn run_single<'a, F>(&'a mut self, fs: &'a F) -> Result<()>where
F: Filesystem,
Run a FUSE filesystem without spawning the new task for each request.
Sourcepub async fn notify_inval_inode(
&mut self,
ino: u64,
off: i64,
len: i64,
) -> Result<()>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn notify_inval_inode( &mut self, ino: u64, off: i64, len: i64, ) -> Result<()>
Invalidate the specified range of cache data for an inode.
When the kernel receives this notification, some requests are queued to read the updated data.
Sourcepub async fn notify_inval_entry(
&mut self,
parent: u64,
name: impl AsRef<OsStr>,
) -> Result<()>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn notify_inval_entry( &mut self, parent: u64, name: impl AsRef<OsStr>, ) -> Result<()>
Invalidate an entry with the specified name in the directory.
Sourcepub async fn notify_delete(
&mut self,
parent: u64,
child: u64,
name: impl AsRef<OsStr>,
) -> Result<()>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn notify_delete( &mut self, parent: u64, child: u64, name: impl AsRef<OsStr>, ) -> Result<()>
Notify that an entry with the specified name has been deleted from the directory.
Sourcepub async fn notify_store(
&mut self,
ino: u64,
offset: u64,
data: &[&[u8]],
) -> Result<()>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn notify_store( &mut self, ino: u64, offset: u64, data: &[&[u8]], ) -> Result<()>
Replace the specified range of cache data with a new value.
Sourcepub async fn notify_retrieve(
&mut self,
ino: u64,
offset: u64,
size: u32,
) -> Result<u64>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn notify_retrieve( &mut self, ino: u64, offset: u64, size: u32, ) -> Result<u64>
Retrieve the value of the cache data with the specified range.
Sourcepub async fn notify_poll_wakeup(&mut self, kh: u64) -> Result<()>
👎Deprecated since 0.2.3: This crate has no longer been in maintenance.
pub async fn notify_poll_wakeup(&mut self, kh: u64) -> Result<()>
Notify an I/O readiness.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Server
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
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