Trait netxserver::server::controller::FunctionInfo[][src]

pub trait FunctionInfo: Send + Sync {
    fn function_type(&self) -> u8;
#[must_use] fn call<'life0, 'async_trait>(
        &'life0 self,
        data: Data
    ) -> Pin<Box<dyn Future<Output = Result<RetResult>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

fn function_type(&self) -> u8[src]

#[must_use]
fn call<'life0, 'async_trait>(
    &'life0 self,
    data: Data
) -> Pin<Box<dyn Future<Output = Result<RetResult>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Implementors