pub trait StatefulRequest {
    type Response;
    // Required method
    fn request(
        self,
        ctx: &mut LocalContext,
        graph: LspComputeGraph,
    ) -> Option<Self::Response>;
}Expand description
A request handler with given (semantic) analysis context and a project snapshot.
Required Associated Types§
Required Methods§
Sourcefn request(
    self,
    ctx: &mut LocalContext,
    graph: LspComputeGraph,
) -> Option<Self::Response>
 
fn request( self, ctx: &mut LocalContext, graph: LspComputeGraph, ) -> Option<Self::Response>
Request the information from the given context.