tinymist_query

Trait SemanticRequest

Source
pub trait SemanticRequest {
    type Response;

    // Required method
    fn request(self, ctx: &mut LocalContext) -> Option<Self::Response>;
}
Expand description

A request handler with given (semantic) analysis context.

Required Associated Types§

Source

type Response

The response type of the request.

Required Methods§

Source

fn request(self, ctx: &mut LocalContext) -> Option<Self::Response>

Request the information from the given context.

Implementors§