Trait UserService

Source
pub trait UserService {
    // Required method
    fn handle_query(
        &mut self,
        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, argument: Vec<u8>) -> Result<Vec<u8>, ExecutionError>

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

Implementors§