[][src]Trait polyfuse::Filesystem

pub trait Filesystem: Sync {
    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 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, 

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.

Loading content...

Implementations on Foreign Types

impl<'_, F: ?Sized> Filesystem for &'_ F where
    F: Filesystem
[src]

impl<F: ?Sized> Filesystem for Box<F> where
    F: Filesystem
[src]

impl<F: ?Sized> Filesystem for Arc<F> where
    F: Filesystem + Send
[src]

Loading content...

Implementors

Loading content...