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§
Sourcefn handle_query(&mut self, argument: Vec<u8>) -> Result<Vec<u8>, ExecutionError>
fn handle_query(&mut self, argument: Vec<u8>) -> Result<Vec<u8>, ExecutionError>
Executes unmetered read-only queries on the state of this application.