Skip to main content

ModelFsRpc

Trait ModelFsRpc 

Source
pub trait ModelFsRpc: Send + Sync {
    // Required methods
    fn walk<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 NpWalk,
    ) -> Pin<Box<dyn Future<Output = Result<RWalk>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn open<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 NpOpen,
    ) -> Pin<Box<dyn Future<Output = Result<ROpen>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn read<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 NpRead,
    ) -> Pin<Box<dyn Future<Output = Result<RRead>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn write<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 NpWrite,
    ) -> Pin<Box<dyn Future<Output = Result<RWrite>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn clunk<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 NpClunk,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn stat<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 NpStatReq,
    ) -> Pin<Box<dyn Future<Output = Result<RStat>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn create<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 NpCreate,
    ) -> Pin<Box<dyn Future<Output = Result<ROpen>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn remove<'life0, 'life1, 'async_trait>(
        &'life0 self,
        request: &'life1 NpRemove,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Generated RPC trait for fs scope.

Required Methods§

Source

fn walk<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 NpWalk, ) -> Pin<Box<dyn Future<Output = Result<RWalk>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn open<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 NpOpen, ) -> Pin<Box<dyn Future<Output = Result<ROpen>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn read<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 NpRead, ) -> Pin<Box<dyn Future<Output = Result<RRead>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn write<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 NpWrite, ) -> Pin<Box<dyn Future<Output = Result<RWrite>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn clunk<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 NpClunk, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn stat<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 NpStatReq, ) -> Pin<Box<dyn Future<Output = Result<RStat>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn create<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 NpCreate, ) -> Pin<Box<dyn Future<Output = Result<ROpen>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn remove<'life0, 'life1, 'async_trait>( &'life0 self, request: &'life1 NpRemove, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§