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§
Required Methods§
Sourcefn request(self, ctx: &mut LocalContext) -> Option<Self::Response>
fn request(self, ctx: &mut LocalContext) -> Option<Self::Response>
Request the information from the given context.