[−][src]Trait polyfuse::Filesystem
A set of callbacks for FUSE filesystem implementation.
Provided methods
fn call<'a, 'cx, 'async_trait, T: ?Sized>(
&'a self,
cx: &'a mut Context<'cx, T>,
op: Operation<'cx>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Reader + Writer + Send + Unpin,
'a: 'async_trait,
'cx: 'async_trait,
T: 'async_trait,
Self: 'async_trait,
&'a self,
cx: &'a mut Context<'cx, T>,
op: Operation<'cx>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
T: Reader + Writer + Send + Unpin,
'a: 'async_trait,
'cx: 'async_trait,
T: 'async_trait,
Self: 'async_trait,
Reply to a FUSE request.
If there is no reply in the callback, the default reply (typically
an ENOSYS
error code) is automatically sent to the kernel.
Implementations on Foreign Types
impl<'_, F: ?Sized> Filesystem for &'_ F where
F: Filesystem,
[src]
F: Filesystem,
fn call<'a, 'cx, 'async_trait, T: ?Sized>(
&'a self,
cx: &'a mut Context<'cx, T>,
op: Operation<'cx>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'a: 'async_trait,
'cx: 'async_trait,
T: Reader + Writer + Send + Unpin + 'async_trait,
[src]
&'a self,
cx: &'a mut Context<'cx, T>,
op: Operation<'cx>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'a: 'async_trait,
'cx: 'async_trait,
T: Reader + Writer + Send + Unpin + 'async_trait,
impl<F: ?Sized> Filesystem for Box<F> where
F: Filesystem,
[src]
F: Filesystem,
fn call<'a, 'cx, 'async_trait, T: ?Sized>(
&'a self,
cx: &'a mut Context<'cx, T>,
op: Operation<'cx>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'a: 'async_trait,
'cx: 'async_trait,
T: Reader + Writer + Send + Unpin + 'async_trait,
[src]
&'a self,
cx: &'a mut Context<'cx, T>,
op: Operation<'cx>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'a: 'async_trait,
'cx: 'async_trait,
T: Reader + Writer + Send + Unpin + 'async_trait,
impl<F: ?Sized> Filesystem for Arc<F> where
F: Filesystem + Send,
[src]
F: Filesystem + Send,
fn call<'a, 'cx, 'async_trait, T: ?Sized>(
&'a self,
cx: &'a mut Context<'cx, T>,
op: Operation<'cx>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'a: 'async_trait,
'cx: 'async_trait,
T: Reader + Writer + Send + Unpin + 'async_trait,
[src]
&'a self,
cx: &'a mut Context<'cx, T>,
op: Operation<'cx>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'a: 'async_trait,
'cx: 'async_trait,
T: Reader + Writer + Send + Unpin + 'async_trait,