MCPcopy Create free account
hub / github.com/Botloader/botloader / GetClientResponse

Interface GetClientResponse

components/service/src/lib.rs:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167pub trait GetClientResponse {
168 type OutputType;
169
170 fn get_response_body(
171 response: reqwest::Response,
172 ) -> impl Future<Output = reqwest::Result<Self::OutputType>> + Send + 'static;
173}
174
175impl<T: DeserializeOwned + 'static> GetClientResponse for Json<T> {
176 type OutputType = T;

Callers

nothing calls this directly

Implementers 1

lib.rscomponents/service/src/lib.rs

Calls

no outgoing calls

Tested by

no test coverage detected