pub trait GithubFetcher: Send + Sync {
// Required method
fn fetch(
&self,
request: &GithubFetchRequest,
) -> Result<GithubDocument, GithubReadError>;
}Expand description
Fetches structured GitHub data. Implementations never return CLI display text; the engine only accepts a normalized document from this interface.
Required Methods§
fn fetch( &self, request: &GithubFetchRequest, ) -> Result<GithubDocument, GithubReadError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".