Trait linera_execution::UserService

source ·
pub trait UserService {
    // Required method
    fn handle_query(
        &mut self,
        context: QueryContext,
        argument: Vec<u8>,
    ) -> Result<Vec<u8>, ExecutionError>;
}
Expand description

The public entry points provided by the service part of an application.

Required Methods§

source

fn handle_query( &mut self, context: QueryContext, argument: Vec<u8>, ) -> Result<Vec<u8>, ExecutionError>

Executes unmetered read-only queries on the state of this application.

Implementors§