pub type QueryResult<T> = Result<T, Status>;
The result of running a query, where the error is of the type tonic::Status.
tonic::Status
pub enum QueryResult<T> { Ok(T), Err(Status), }
Contains the success value
Contains the error value